Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Make a website 100% width using DIVs
Old 05-21-2008, 03:28 PM Make a website 100% width using DIVs
Super Talker

Posts: 129
Trades: 1
Hi guys/gals,

can someone give me a tip to make a web page 100% width using divs. I understand this is possible with tables but i feel restricted by tables so would like to do something with divs.

i want to use all the space on a page rather than be restricted to 760px width.

can someone help, it would mean a lot.

i dont know if it matters but i dont have access to PHP or any other database scripts. (simple host).
yourmediaking is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-21-2008, 04:16 PM Re: Make a website 100% width using DIVs
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
You can set widths with CSS and tell it width: 100%.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 05-21-2008, 04:24 PM Re: Make a website 100% width using DIVs
Average Talker

Posts: 21
Name: Mitch
Trades: 0
In your stylesheet, set the width of your container div to 100%. Then use percentages for your inner content div's as well.

Best way to do this...

Don't re-invent the wheel, use www.csscreator.com to create your overall layout and then cut it up to be exaclty what your wanting.
Mviner04 is offline
Reply With Quote
View Public Profile
 
Old 05-21-2008, 04:52 PM Re: Make a website 100% width using DIVs
Gilligan's Avatar
Website Designer

Posts: 1,670
Name: Stefan
Location: London, UK
Trades: 0
Also remember to set no margin or padding on your body to ensure its 100% and no less.

Code:
body {
  margin: 0;
  padding: 0;
}
__________________

Please login or register to view this content. Registration is FREE
Gilligan is offline
Reply With Quote
View Public Profile
 
Old 05-21-2008, 07:04 PM Re: Make a website 100% width using DIVs
Super Talker

Posts: 129
Trades: 1
thank you so much, i appreciate it.
yourmediaking is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Make a website 100% width using DIVs
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.14767 seconds with 12 queries