GIDForums  

Go Back   GIDForums > Webmaster Forums > Web Design Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 09-Aug-2007, 10:14
Gamer_2k4's Avatar
Gamer_2k4 Gamer_2k4 is offline
Member
 
Join Date: Apr 2005
Location: Wisconsin
Posts: 117
Gamer_2k4 will become famous soon enough

Non-resizing DIVs?


I've been working on changing the layouts of a website from tables to CSS divisions. However, I'm pretty new at CSS, so I don't understand why I got a particular result.

Here's the original page, using tables:
Code:
http://www.hydrocyclone.com/features.htm

Here's the new page, using divisions:
Code:
http://www.hydrocyclone.com/features2.htm

Here's the CSS file:
CSS Code:
.fig {  font-size: 9px; font-style: italic; text-align: center }
.foot {  font-size: 10px}
.nav {  font-size: 10px}
a:hover {  color: #FF0000}
a:link {  color: #000066}
a:visited {  color: #000066}
body {  background-color: #D0D0BF; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px}
h4 {  color: #CC3300; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px}
h5 {  color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px}

#wrapper {width:740px; height:600px;}
#header {height:80px; width:740px;}
#spacer1 {height:20px; width:740px;}
#sidebar {font-size:.85em; width: 130px; height: 265px; float: left;}
#content {width: 600px; height: 265px; background-color: white; float: right;}
#spacer2 {height:11px; width:740px;}
#footer {text-align:center; font-size:.85em; width: 740px; height: 62px;}
#spacer3 {height:265px; width:10px; float: left;}

Why isn't the content division resizing for the text, and what can I do to fix it?
__________________
Gamer_2k4
  #2  
Old 09-Aug-2007, 13:16
Gamer_2k4's Avatar
Gamer_2k4 Gamer_2k4 is offline
Member
 
Join Date: Apr 2005
Location: Wisconsin
Posts: 117
Gamer_2k4 will become famous soon enough

Re: Non-resizing DIVs?


Never mind, figured it out.
__________________
Gamer_2k4
  #3  
Old 10-Aug-2007, 03:27
WebDevPodcaster WebDevPodcaster is offline
New Member
 
Join Date: Aug 2007
Location: New York
Posts: 8
WebDevPodcaster is on a distinguished road

Re: Non-resizing DIVs?


Are you using absolute positioning or widths with pixels/percentages?
 
 

Recent GIDBlogProblems with the Navy (Enlisted) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Resizing controls CaptnB MS Visual C++ / MFC Forum 0 14-Feb-2005 08:13

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 06:55.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.