On 5/22/06, Jono [EMAIL PROTECTED] wrote:
Hi,
When using this css for each div, how can I make it so that the divs
expand with the size of the text
Brian,
As neat as it sounds to expand your layout on text resize, you really have
to consider your total page size first. My site
skye estes wrote:
creating designs that resize well goes a long way towards improving the
accessibility of the web.
i suggest setting a pixel font size for the body and using ems for your
units of measurement thereafter.
Setting a pixel font-size for the body will prevent Internet Explorer
On 06/05/22 09:54 (GMT-0400) skye estes apparently typed:
On 5/22/06, Jono [EMAIL PROTECTED] wrote:
Brian Jones wrote Tue May 16:
When using this css for each div, how can I make it so that the divs
expand with the size of the text
One option is to size absolutely everything that needs
The best way to do this would be to float each div inside your container.
This will allow them to line up horizontally. The CSS may look like this.
#Box1 {
float: left;
width: xxx;
}
#Box2 {
float: left;
width: xxx;
}
#Box3 {
float: left;
width: xxx;
}
On 5/16/06, Brian Jones [EMAIL PROTECTED] wrote:
The best way to do this would be to float each div inside your container.
This will allow them to line up horizontally. The CSS may look like this.
#Box1 {
float: left;
width: xxx;
}
#Box2 {
float: left;
width:
Brian.
A DIV is considered a block element and so typically its content
flows to fill the size of the DIVs specified width rather than the
other way around. A DIV will expand its height to fit the text
inserted.
What you could do is set the widths of the DIVS to percentages this
would
Try these sites for guidance
:: Horizontal lists
http://css.maxdesign.com.au/listamatic/
:: http://www.cssplay.co.uk/menus/index.html
--sandra
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
Hi,
I am trying to create a small 5 column CSS box that will render
correctly across browsers.
Also I would like to be able to adjust the widths of each box accordingly
I am looking for something like this:
div id=container
div id=Box1Text /div
div id=Box2Text /div
div
The best way to do this would be to float each div inside your container.
This will allow them to line up horizontally. The CSS may look like this.
#Box1 {
float: left;
width: xxx;
}
#Box2 {
float: left;
width: xxx;
}
#Box3 {
float: left;
width: xxx;
}
#Box4 {
float:
I am looking for something like this:
div id=container
div id=Box1Text /div
div id=Box2Text /div
div id=Box3Text /div
div id=Box4Text /div
div id=Box5Text /div
/div
_ _ _ _ _
|__Box 1 _||__Box 2 _| |__Box 3 _|
10 matches
Mail list logo