|
|
#1 |
|
wwwyzzerdd
(Forum King) Join Date: May 2003
Posts: 3,458
|
need some more html help again
This works like it should in IE, not right in firefox. The middle table (with the banner and inside lines) doesnt extend 100% high in firefox.
<html> <head> <meta link rel="stylesheet" type="text/css" href="name of the css.css" /> <style type=text/css> <!-- <!--table { font-family: Tahoma; font-size: 10px; font-style: Normal; color: #D6D6D6; } #outside_lines { border-right: 1px #FFFFFF solid; border-left: 1px #FFFFFF solid; } #banner_capsule { border-top: 1px #FFFFFF solid; } #banner_capsule_rightLine { border-right: 1px #FFFFFF solid; } #left_line { border-top: 1px #FFFFFF solid; } <!-- <!--A { text-decoration:none }--> <!--A:link {text-decoration: none; color: #FFFFFF}-----> <!--A:link {font-family: tahoma; font-size: 11pt;} <!--A:visited {text-decoration: none; color: #8A8A8A; }-----> <!--A:visited {font-family: tahoma; font-size: 11pt;}-----> <!--A:hover {text-decoration: None; color: #8A8A8A}--> ------!>#FF0000 </style> <title> bleh </title> </head> <body bgcolor=#808080 Topmargin=0 bottomMargin=0 leftmargin=0 rightMargin=0> <table width="100%" height="100%" border=1 cellpadding=0 cellspacing=0> <tr> <td> asd </td> <td> <!=======================================================!> <center> <table id="outside_lines" cellpadding=0 cellspacing=0 height="100%" width=550 border=1> <tr> <td> <table id="banner_capsule_rightLine" width=87 height=100% cellpadding=0 cellspacing=0> <tr> <td valign=bottom> <table id="banner_capsule" cellpadding=0 cellspacing=0> <tr> <td><img src="http://deborahlundgren.com/bumrush/files/Banner_bumrush_1.png"></td> </tr> </table> <td> </tr> </table> </td> </tr> </table> </center> <!==================================================!> </td> </tr> </table> </body> </html> Thanks for any help ![]() "Oh BTW. How do you say 'stop throwing shit at the side of my house' in spanish?" Check out my music |
|
|
|
|
|
#2 |
|
Angel of Winamp
|
I dont know crap about firefox but
<td> <!=======================================================!> <center> <table id="outside_lines" cellpadding=0 cellspacing=0 height="100%" width=550 border=1> <tr> <td> *** Try closing the <tr and td> tags then reopening them again just below. See if that makes a difference Just a shot in the dark. ~ Missy EDIT I think I found it ---- Look at the "" quote marks around the 100% on the table below you dont have the quotes. I cant remember if you need quotes or not-- It has been a while since I have coded. "Sex is great and is remembered as a moment in life while love lasts a lifetime." Quote from Chev |
|
|
|
|
|
#3 |
|
wwwyzzerdd
(Forum King) Join Date: May 2003
Posts: 3,458
|
Nope
.Thanks for the shot though - I appreciate people are actually trying to help ![]() "Oh BTW. How do you say 'stop throwing shit at the side of my house' in spanish?" Check out my music |
|
|
|
|
|
#4 |
|
Major Dude
Join Date: Nov 2004
Posts: 955
|
Don't see how this would fix anything, but HTML has been known to do some pretty strange things. IN the red one, you have the width after the hight, but in the rest, you have it the other way around. I know that it sounds like it won't do anything, but you never know.
Other than the quotes, like Missy mentioned, I don't see anything else different |
|
|
|
|
|
#5 |
|
wwwyzzerdd
(Forum King) Join Date: May 2003
Posts: 3,458
|
Ok, I'll try re arranging the code, and make sure that quotes are around all "100%"s in the code. Brb to report.
![]() "Oh BTW. How do you say 'stop throwing shit at the side of my house' in spanish?" Check out my music |
|
|
|
|
|
#6 |
|
wwwyzzerdd
(Forum King) Join Date: May 2003
Posts: 3,458
|
Neither of them worked.
![]() "Oh BTW. How do you say 'stop throwing shit at the side of my house' in spanish?" Check out my music |
|
|
|
|
|
#7 |
|
Angel of Winamp
|
I just played with it with my website in a testbed. I am too tired to think correctly.
Try going to http://www.draac.com/ Great site for html hon. I am sorry I could not help more. ~ Missy "Sex is great and is remembered as a moment in life while love lasts a lifetime." Quote from Chev |
|
|
|
|
|
#8 |
|
Forum Domo
Join Date: Jan 2004
Location: Everyone, get over here for the picture!
Posts: 4,329
|
http://validator.w3.org/
16 errors with an added doctype declaration. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> elevatorladyelevatorladyelevatorladyelevatorladyelevatorladylevitateme |
|
|
|
|
|
#9 |
|
Angel of Winamp
|
<table id="banner_capsule_rightLine" width=87 height=100% cellpadding=0 cellspacing=0>
<tr> <td valign=bottom> You did not close out your table tags here. Try closing out the table before the new one. Hopefully this is your answer. <table id="banner_capsule" cellpadding=0 cellspacing=0> <tr> <td><img src="http://deborahlundgren.com/bumrush/files/Banner_bumrush_1.png"></td> </tr> </table> Try the above. I just noticed that. I am so tired, going to bed now. ~ Missy "Sex is great and is remembered as a moment in life while love lasts a lifetime." Quote from Chev |
|
|
|
|
|
#10 | |
|
wwwyzzerdd
(Forum King) Join Date: May 2003
Posts: 3,458
|
Quote:
because there's one table inside another.
![]() "Oh BTW. How do you say 'stop throwing shit at the side of my house' in spanish?" Check out my music |
|
|
|
|
|
|
#11 | ||||
|
wwwyzzerdd
(Forum King) Join Date: May 2003
Posts: 3,458
|
Quote:
Here's what it said: Quote:
Quote:
Quote:
![]() "Oh BTW. How do you say 'stop throwing shit at the side of my house' in spanish?" Check out my music |
||||
|
|
|
|
|
#12 |
|
wwwyzzerdd
(Forum King) Join Date: May 2003
Posts: 3,458
|
Ok, well, I just figured it out:
It wasnt liking my center tag for some reason. AGH. ![]() "Oh BTW. How do you say 'stop throwing shit at the side of my house' in spanish?" Check out my music |
|
|
|
|
|
#13 | |
|
Angel of Winamp
|
Quote:
Sorry about that.~ Missy ps On a good note, my bedroom is almost clean "Sex is great and is remembered as a moment in life while love lasts a lifetime." Quote from Chev |
|
|
|
|
|
|
#14 |
|
not fucked, not quite.
(Forum King) |
Seriously dude, LEARN HTML.
All attributes' values must be quoted — border="0" etc. As many times as I've told you, you don't listen, so I'll try one last time. Using divs in conjunction with CSS would make your life so much easier. If you wanted to redesign a site that uses tables, you'd have to go back and redo all the markup because it's trapped in the layout you made with the tables. But if you use CSS and DIVS and you want to redesign, you don't have to redo the markup, just change the stylesheet. But hey, you don't have to listen to me. I'm just trying to make your web-design-life easier. Also, you don't have to comment EVERY line of CSS. Just do. code: Comments only have TWO "-" when you do them. <!-- and -->. code: And what's all this about? |
|
|
|
|
|
#15 |
|
Angel of Winamp
|
<!=======================================================!>
That is nothing more than a spacer taught to us "old school" people that separates lines of code that helps us read the code faster. I learned that back in my basic and RPG days. ~ Missy "Sex is great and is remembered as a moment in life while love lasts a lifetime." Quote from Chev |
|
|
|
|
|
#16 |
|
Forum King
Join Date: Jun 2003
Location: Milwaukee
Posts: 4,577
|
<center> tags are depricated in html 4.01 don't use them.
also, what Ryan said. |
|
|
|
|
|
#18 |
|
Forum Domo
Join Date: Jan 2004
Location: Everyone, get over here for the picture!
Posts: 4,329
|
nice plug...
Postcount++ elevatorladyelevatorladyelevatorladyelevatorladyelevatorladylevitateme |
|
|
|
|
|
#19 | |
|
wwwyzzerdd
(Forum King) Join Date: May 2003
Posts: 3,458
|
Quote:
2: I know I should quote every proporty but in my experience I've found it really doesnt seem to matter. I dont care enough to do it if it's just "to do it right". 3: I know about the commenting every line - I didnt write the a:link code. it's just something I grabbed from the internet a few years ago. I've never actually taken the time to learn any formal CSS (I've just started picking it up; most of it is self explanitory). 4: The line just helps me seperate my code - It just acts as a line in the code that does nothing but show me where stuff seperates. It doesnt get recognized by the browser. ![]() "Oh BTW. How do you say 'stop throwing shit at the side of my house' in spanish?" Check out my music |
|
|
|
|
|
|
#20 |
|
Forum King
Join Date: Jun 2003
Location: Milwaukee
Posts: 4,577
|
if you don't care to learn how to do it correctly, why should anyone care to help you when your code doesn't work properly?
|
|
|
|
|
|
#21 |
|
wwwyzzerdd
(Forum King) Join Date: May 2003
Posts: 3,458
|
If you really cared about doing it correctly you'd be badgering me about meta tags and doctype declaration.
The point is that it doesnt actually matter. ![]() "Oh BTW. How do you say 'stop throwing shit at the side of my house' in spanish?" Check out my music |
|
|
|
|
|
#22 |
|
Forum King
Join Date: Jun 2003
Location: Milwaukee
Posts: 4,577
|
then why are you asking for help if it doesn't matter how you write your code?
|
|
|
|
|
|
#23 |
|
wwwyzzerdd
(Forum King) Join Date: May 2003
Posts: 3,458
|
I'm talking about the quotes.
I'm saying THOSE dont actually matter (in actuallity). ![]() "Oh BTW. How do you say 'stop throwing shit at the side of my house' in spanish?" Check out my music |
|
|
|
|
|
#24 |
|
Forum King
Join Date: Jan 2002
Location: the nether reaches of bonnie scotland
Posts: 13,378
|
You're using tables for layout. Don't. You'll get problems like this more and more as browsers get more compliant to the proper use of tables.
Being less bitchy, I don't think that tables are supposed to support the "height" attribute, or something like this. This page might help, although it promotes the correct CSS/div way of doing things that you seem very opposed to. I'd recommend learning it, though, since it leads to more logical, easier-to-maintain sites, and a seperation of form and content. |
|
|
|
|
|
#25 |
|
wwwyzzerdd
(Forum King) Join Date: May 2003
Posts: 3,458
|
I'm not opposed to using quotes. I just dont want to go back and put quotes around everything becuase, like I said, it doesnt (seem) to matter at all.
![]() "Oh BTW. How do you say 'stop throwing shit at the side of my house' in spanish?" Check out my music |
|
|
|
|
|
#26 | |
|
not fucked, not quite.
(Forum King) |
Quote:
<!-- SPACER OMG LOL I CAN SPACE STUFF --> ...to do it. Since the "=" isn't what you use to declare comments. |
|
|
|
|
|
|
#27 |
|
Angel of Winamp
|
Not to argue with you but isnt
====================================== A big comment to yourself? ~ Missy "Sex is great and is remembered as a moment in life while love lasts a lifetime." Quote from Chev |
|
|
|
|
|
#28 | |
|
Forum King
Join Date: Aug 2002
Posts: 7,267
|
Quote:
It is stupid not to quote attributes. It is acceptable to quote any attribute, and if you just ALWAYS do it, you'll never forget, and never have a problem. It's not like you even have to go back and fix it yourself. Use HTML Tidy. Furthermore, you're condemning yourself to far more work in the future by not learning CSS now - CSS is the future, it's not that hard, and it avoids silly problems like this. Instead of wasting time fixing the problems of yesteryear, why not come to 2004 and start using CSS? Freedom of speech is the basic freedom of humanity. When you've lost that, you've lost everything. 1\/\/4y 34|<$p4y 1gp4y 33714y, 0d4y 0uy4y? | Roses are #FF0000; Violets are #0000FF; chown -R ${YOU} ~/base The DMCA. It really is that bad. : Count for your life. |
|
|
|
|
|
|
#29 | |
|
Forum King
Join Date: Aug 2002
Posts: 7,267
|
Quote:
if you want.code: Freedom of speech is the basic freedom of humanity. When you've lost that, you've lost everything. 1\/\/4y 34|<$p4y 1gp4y 33714y, 0d4y 0uy4y? | Roses are #FF0000; Violets are #0000FF; chown -R ${YOU} ~/base The DMCA. It really is that bad. : Count for your life. |
|
|
|
|
|
|
#30 |
|
Angel of Winamp
|
I was being lazy and not typing in < >. Sorry about that.
I am going back to work now and staying out of this. Have a great day everyone. Hugs, ~ Missy "Sex is great and is remembered as a moment in life while love lasts a lifetime." Quote from Chev |
|
|
|
|
|
#31 |
|
Forum King
Join Date: Aug 2002
Posts: 7,267
|
What I mean is that you can have anything in the comment, but it MUST be surrounded by:
code: and therefore, code: is illegal. Freedom of speech is the basic freedom of humanity. When you've lost that, you've lost everything. 1\/\/4y 34|<$p4y 1gp4y 33714y, 0d4y 0uy4y? | Roses are #FF0000; Violets are #0000FF; chown -R ${YOU} ~/base The DMCA. It really is that bad. : Count for your life. |
|
|
|
|
|
#32 |
|
wwwyzzerdd
(Forum King) Join Date: May 2003
Posts: 3,458
|
I'm already picking up css.
I'll get around to learning the technical shit when I have some time/inspiration. ![]() "Oh BTW. How do you say 'stop throwing shit at the side of my house' in spanish?" Check out my music |
|
|
|
|
|
#33 |
|
wwwyzzerdd
(Forum King) Join Date: May 2003
Posts: 3,458
|
is there any way to control cellpadding with css?
Anyone know a good, complete css "cheatsheat"? ![]() "Oh BTW. How do you say 'stop throwing shit at the side of my house' in spanish?" Check out my music |
|
|
|
|
|
#34 |
|
Angel of Winamp
|
"Sex is great and is remembered as a moment in life while love lasts a lifetime." Quote from Chev |
|
|
|
|
|
#35 |
|
Just Strolling By
(Major Dude) Join Date: Aug 2002
Location: A Long Winding Road.....
Posts: 3,201
|
ok first your using two different types of css - external (via your meta link) and inline (via your style comment in your header).
DON'T! use one or the other as you will just end up confused and with a lot of problems. and yes, I am speaking from experiance. I used to cheat and do the same, but as I got more advanced in css I started to get problems. It was totally my fault as I would be trying to apply attributes to the same thing without realising it. 1 to be aware of ![]() second - your using html 4.01 so to align a table centered use this; code: Also it looks like your closing the the main table twice there to me. And yes cellpadding can be done in css - it's called 'padding' margin border padding in that order, like so; where 'value' = a number from '0' upwards. in pixels.code: i.e. code: as you can see I can place 4 values and they will do the 'Top', 'Left', Bottom' and 'Right' values, strictly speaking (And generally easier to understand and follow) They should be written like this; code: Here I am clearly 'Identifying' Top, Left, Right and bottom. Always maje sure you close the attribute with ';' and open close with these brackets {} - where open = { and close =} . Also don't forget you can link the img (Banner) via your css as well. Get used to it - it really can cut load times dowm for graphics enhanced pages .btw nesting that table inside a div element will take you to xhtml transitional, when you've moved all the attributes like height, padding, width etc to css and added an alt="" attribute to your img src line and then closed it correctly; i.e. code: notice I have added an alt="" text and also a forward slash implicitly closing the element. Do that on your meta tags as well and that code should validate as xhtml. Hope that helps squawk... btw I'm working on an html 4.0/4.01/xhtml Meta tag generator and a css genetrator with a guy at the moment. It's web based and option select/copy&paste at the end. so say the meta generator would work like this, Select your DTD html 4.0/4.01 or xhtml then which tags you want to use, charset, css link etc hit submit you get a set of meta tags neatly enclosed in the head tags with the correct DTD. Similar kind of thing for the css - select from options including colors etc . Should be available soon and whats more - Freebie! lol I'll let you know when it happens... ~
Music is Life, Love and Happiness :|: Life is Music. Serren - 1985 - 2005 Religion? Religion is a Blasphemy against humanity - From the film What the Bleep do we know siggy link So stumbling? whats it all about |
|
|
|
|
|
#36 |
|
wwwyzzerdd
(Forum King) Join Date: May 2003
Posts: 3,458
|
yea, my meta tag header was doing nothing - it was just a forgotten remnance of some other code I pasted over. I got rid of the tag long ago.
![]() "Oh BTW. How do you say 'stop throwing shit at the side of my house' in spanish?" Check out my music |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|