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
CSS HELP! Variable div width
Old 04-16-2007, 05:10 AM CSS HELP! Variable div width
Junior Talker

Posts: 2
Trades: 0
Hey guys,

Newbie on the forum. Need some help with my uni project.

I'm building a site that is accessible to the extent that users can change the text size with a couple of clicks. All that part is fine. But its the div's that the text is within thats a pain. What's the best method of making a div with a variable width / height so that when the text inside it expands, so does the div.

I've been banging my head off a wall with this for ages.

Thanks very much!
spoonman is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-16-2007, 03:16 PM Re: CSS HELP! Variable div width
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Size the div with EM's and specify the text size in either pecent or em's as well.
__________________
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 04-16-2007, 03:36 PM Re: CSS HELP! Variable div width
Average Talker

Posts: 21
Name: Robert Brue
Trades: 0
How about the idea of deataching fixed width / height from all DIVs? It is possible in many cases.
__________________

Please login or register to view this content. Registration is FREE
- Get one way text links with different anchors for free.
Add your website here:

Please login or register to view this content. Registration is FREE
urlslivecom is offline
Reply With Quote
View Public Profile Visit urlslivecom's homepage!
 
Reply     « Reply to CSS HELP! Variable div width
 

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.11502 seconds with 12 queries