Quick CSS Frame Question

  • johnlynches
  • Novice
  • Novice
  • johnlynches
  • Posts: 15

Post 3+ Months Ago

Right now my I have two frames on my site, and they are set at 17% and 82% respectively, shown here:

/* Two frames */
.twoFrames .leftStyle {float: left; margin: 0; position: relative; width: 17%;}
.twoFrames .centerStyle {float: left; margin: 0; position: relative; width: 82%;}

I would like to make one of the frames a fixed width, and the other fill in the remaining space, but I don't know how to do that, or if it is even possible. Here is what I am talking about:

/* Two frames */
.twoFrames .leftStyle {float: left; margin: 0; position: relative; width: 250px;}
.twoFrames .centerStyle {float: left; margin: 0; position: relative; width: (Remaining Frame Width);}

Thanks in advance for any suggestions.

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 16 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.