Web design help...

Discussion in 'Software' started by Akumos, Nov 9, 2008.

  1. Akumos

    Akumos Private E-2

    Hello al

    Not sure if Programming is the right topic to post a mark up language question but I couldn't see one more relevent. Anyway...

    I'm developing a homepage which so far looks like:

    www.adamjoseph.co.uk

    I want to make the whole page central with gray margins to the left and right. I assume I'd use divs in CSS to achieve this but does anyone have a template I can use?

    Thanks for reading...
     
  2. PC-XT

    PC-XT Master Sergeant

    You could use a table like <table width="100%"><tr><td bgcolor="gray"></td><td>Content goes here</td><td bgcolor="gray"></td></tr></table> or you could make the background color of the page gray, for instance by placing bgcolor="gray" in the body tag, and using a table, div, or other container to center the content, using either align="center" HTML attribute or CSS. If you use CSS, you can position the element better on the page with other properties.
     
    Last edited: Nov 9, 2008
  3. Akumos

    Akumos Private E-2

    Thanks PC-XT, will try it out!
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds