Im stuck on my website, i built it with dreamweaver, it looks perfect when in dreamweaver but when i save its all over the place, im new with websites and i dont know html or css
http://www.freewebs.com/vintagegamer/
also how do you center the layout
Help with website
Started by piggsy, Aug 29 2008 09:42 AM
5 replies to this topic
#1
Posted 29 August 2008 - 09:42 AM
#2
Posted 31 August 2008 - 04:22 PM
piggsy, on Aug 29 2008, 03:42 PM, said:
Im stuck on my website, i built it with dreamweaver, it looks perfect when in dreamweaver but when i save its all over the place, im new with websites and i dont know html or css
http://www.freewebs.com/vintagegamer/
also how do you center the layout
http://www.freewebs.com/vintagegamer/
also how do you center the layout
Search the Pixel2Life database for some tutorials about designing 3 column websites, and building them using CSS.
You are now using tables, if you start using CSS now
#3
Posted 01 September 2008 - 05:38 AM
can you us a link
#4
Posted 01 September 2008 - 06:04 AM
try these quick tutorials which will put you on a path towards table-less layouts:
http://www.w3.org/20...csslayout-howto
http://www.tutorialtastic.co.uk/tutorial/c...ableless_layout
http://www.glish.com/css/
http://www.w3.org/20...csslayout-howto
http://www.tutorialtastic.co.uk/tutorial/c...ableless_layout
http://www.glish.com/css/
#5
Posted 02 September 2008 - 04:10 AM
i read them, that was basically the way i was doing it. i was using the property box instead of writing it out.
#6
Posted 02 September 2008 - 10:39 PM
Looking at your code, it looks like you're letting Dreamweaver make up whatever names it wants for your styles. This is hard to work with since you're not sure which rule goes with what on the page. It's better to name rules appropriately. For centering a layout, if using CSS, you'll need a container div that surrounds the content. Then apply the following CSS to that container div:
What that does is apply a left and right margin of auto. This centers the layout.
margin: 0 auto 0 auto;
What that does is apply a left and right margin of auto. This centers the layout.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
