![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Hobbyist Programmer
|
Yeppers, the W3 is tring to do away with it, now there will be no good way to center a page
![]() I'l post a new template for you in less than 24 hours. |
|
|
|
|
|
#12 |
|
Programmer
Join Date: Sep 2005
Location: PA, USA
Posts: 49
Rep Power: 0
![]() |
Thanks for the template. Doesn't matter how it's done, I just wasn't sure where to start in doing it.
The W3 is trying to get rid of the <center> tag? Why? I use it all the time. What else is there to center something?
__________________
"I have many layer-eight problems in my life, including myself." |
|
|
|
|
|
#13 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
The current approach to applying attributes is to apply them as attributes to a single, enclosing container. <p align="center" style="font-weight: bold;">CONTENT</p>, while not intrinsically superior to <p><center><strong>CONTENT</strong></center></p>, allows the styles to be applied en masse to a predefined class of container (as one example). When it comes to consistency, and the separation of presentation and content, it is actually a superior approach. People that never take any time out to think, because they're too busy reinventing the wheel, of course don't "get it".
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#14 |
|
Hobbyist Programmer
|
It makes since but it doesn't work like it should.
right now, <center> works and text-align:center; doesnt. |
|
|
|
|
|
#15 |
|
Hobbyist Programmer
|
[html]<html>
<head> <title>The Far Side of the Galaxy - Downloads</title> <link href="/skins/plain/style.css" rel="stylesheet" type="text/css" /></head> <body> <a name="top" id="top"></a> <table height="100%" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td height="50" valign="top"><div id="menu"> <a href="/index.php" title="Home">Home</a> <a href="http://forums.farsideofthegalaxy.com">Forums</a> <a href="/pictures/">Pictures</a> <a href="/downloads/">Downloads</a> <a href="http://webmail.farsideofthegalaxy.com">Webmail</a> </div></td></tr> <tr><td align="center" valign="top"> Body </td></tr> <tr><td height="45"><div id="footer" align="center" valign="bottom">Copyright 2005, Evan Smith</div></td></tr> </table> </body> </html>[/html] Edit this line your menu layer to fix the space between the heard and body.[html]margin-bottom:50px;[/html] Visual Sample http://www.bja888.com/temp/NoName.html Warning this approach will not work if you ever decied to convert this template to xhtml. |
|
|
|
|
|
#16 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Here's an example of applied style versus in-content tags. Even with this tiny amount of content, you can see the difference in work required to produce it. The work required to EDIT and MAINTAIN it, in the face of changes, is stupendously mind-boggling. Scale it up to a large application. (Weird -- "text-align" woiks fer me.)
You know, BJ, I don't really mind that you are ineffably stupid. That's a personal choice, on your part. What I mind, and what I will do my utmost to prevent, is your misleading of members who come here for decent answers, simply because you have some bug up your ass about your personally-determined expertise as a web-design guru. I am asking you now to refrain from that. If you cannot voluntarily do that, I will appeal to the admins and mods of the forum to gag you. Pizientos has already had to close a couple of your threads for pandemic stupidity. Example View the source.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#17 |
|
Hobbyist Programmer
|
I'm, not going to make the poor guy change his entire style sheet. The thing is over 300 lines long. I'm not going to make him hunt for the part that needs fixing. In this case I put the added attributes in the tags.
If you can solve this guys proublem a better way. Go ahead post it. If your going to talk sh** back it up. Or else, there you go Obtruse_Man4 your proublem is solved. And for the last time... text-align does not center divs in FF |
|
|
|
|
|
#18 |
|
Programming Guru
![]() |
bja888, please do me the favor of shutting the fuck up...
You are probably one of the least educated members here, and unless you're willing to accept that you're just going to make us mad when we are trying to help people. I hope this isn't too far from your comprehension, because xHTML surely is. [html] <html> <head> <style type="text/css"> #talign { text-align: center; } </style> <title>text-align example</title> </head> <body> <div id="talign">bja888 you are just annoying...</div> </body> </html> [/html]
__________________
|
|
|
|
|
|
#19 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Tempest for president.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#20 |
|
Hobbyist Programmer
|
http://www.webmasterworld.com/forum83/501.htm
Maybe code works? Dunno other people have fought this problem before you, and possibly overcome it
__________________
#programmingforums relay - http://thegupstudio.com/cgi-bin/pforelay.cgi freelance scripts - http://ryanguthrie.com/index.html |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|