Jump to content


Help with website


5 replies to this topic

#1 piggsy

    Young Padawan

  • Members
  • Pip
  • 12 posts
  • Gender:Male
  • Location:England

Posted 29 August 2008 - 09:42 AM

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

#2 Headshot

    Young Padawan

  • Members
  • Pip
  • 104 posts
  • Gender:Male

Posted 31 August 2008 - 04:22 PM

View Postpiggsy, 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

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 ;) you don't have to learn CSS when you finished it in tables and it looks bad.

;)

#3 piggsy

    Young Padawan

  • Members
  • Pip
  • 12 posts
  • Gender:Male
  • Location:England

Posted 01 September 2008 - 05:38 AM

can you us a link

#4 jbladeus

    Young Padawan

  • Members
  • Pip
  • 7 posts

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/

#5 piggsy

    Young Padawan

  • Members
  • Pip
  • 12 posts
  • Gender:Male
  • Location:England

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.

Posted Image

#6 Jacorre

    P2L Jedi

  • Members
  • PipPipPip
  • 824 posts
  • Gender:Male
  • Location:USA
  • Interests:Computers, Technology, Internet, Graphic/Web Design, Music, Soccer

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:

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