i just want to center it ;(
Moderator: General Moderators
i just want to center it ;(
how can I center a <div> that doesn't have a width?
I don't want to provide a width because then my floating divs will break to the next line.
is this possible?
I don't want to provide a width because then my floating divs will break to the next line.
is this possible?
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
I want to center the div
The contents of the div are text-align: left;
The contents of the div are text-align: left;
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
display: table broke my float: left divs inside of the container div down to the next line
display: table-row works perfectly in firefox.. but looks the same in IE
any suggestions?
http://www.showmypro.com/showme2.php?u=scrotaye if you want to look. and look at source code.
display: table-row works perfectly in firefox.. but looks the same in IE
any suggestions?
http://www.showmypro.com/showme2.php?u=scrotaye if you want to look. and look at source code.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
does nothing in IE.. in firefox it looks good.. using display: table-row; the margin didn't make a difference
Note to self: maybe i should go back to tables :-S
Note to self: maybe i should go back to tables :-S
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Have you tried
?
Code: Select all
<center>
<div>
<!-- content -->
</div>
</center>yes, that was one of the first things I tried 
I really wanted the divs to be expandable in width.. but i guess I'll have to deal with fixed div widths until IE decides to come up to par
I really wanted the divs to be expandable in width.. but i guess I'll have to deal with fixed div widths until IE decides to come up to par
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
-
Charles256
- DevNet Resident
- Posts: 1375
- Joined: Fri Sep 16, 2005 9:06 pm
the HTML is fine. the display: table-row; along with center worked fine in Opera, and FireFox, however IE doesn't recognize the display attribute.. I guess..
And since IE is like 80+ percent of what everyone is using, i had to settle for what I didn't want
And since IE is like 80+ percent of what everyone is using, i had to settle for what I didn't want
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
heh, not unless some other dominant platform (such as windows) came along. with IE coming with windows and being the default browser, i'd say at least 20 % of average computer users don't even know other browsers existpilau wrote:I tell you, in 3 years, counting on the IE 7 Beta version, that would be just the opposite: 20% for IE, and the rest is for the best
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.