|
||||||
| HTML Programming Forum discussion covering HTML, XHTML, DHTML and all flavors of HTML. Hypertext Markup Language is used to create websites. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
| Sponsored Links |
|
|
|
|||||
|
Do you have it on the web where I can view it? It is hard to diagnose without seeing it in both browsers myself. Also, post your CSS please.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
|
|||||
|
Well, it's sort of rubbish and half-finished, but it's available here:
Home - Xav's Net Site I don't have the CSS to hand, but I can tell you what it is: @ The external CSS file contains the class "sidebar_heading", which contains the "width: 50px;" line (the other properties in the class work fine). @ The CSS file is linked via a <link> tag. All the other styles work, including the background-color / text colour in the sidebar_heading class. @ The cell links the CSS file, as in <td class="sidebar_heading">. Is this enough info? |
|
|||||
|
Actually, I took a screenshot in FF and IE.
FF = 229px in Width IE = 261px in Width. Neither are actually 50px. You said you have "width: 50px;" above but I see this as your CSS: HTML Code:
.sidebar_heading
{
background-color: #ff0000;
color: #ffffff;
font-size: 16px;
height: 50px;
}
I want to point out some other errors. You have: HTML Code:
<tr class="sidebar_content"><td> Shouldn't this be: HTML Code:
<tr class="sidebar_heading"><td> This site is dedicated to bring you only the finest of webpages. HTML Code:
<tr><td class="sidebar_heading"> You have: HTML Code:
<td height="50px">Google Search</td> HTML Code:
<td height="50">Google Search</td> HTML Code:
<td style="height: 50px;">Google Search</td>
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
|
|||||
|
Sorry, my mistake. I meant HEIGHT, not WIDTH! Sorry for the confusion.
The cells containing the content are using "sidebar_content". I don't care how big those ones are for now - just the "sidebar_heading" one. Just replace any occurences of "width" with "height" in my explanation. I just got that mixed up. Can you help? |
| Sponsored Links |
|
|
|
|||||
|
It's always weird how things work differently in Firefox than in IE. I'm sure the tables will work out fine, though.
__________________
Cheap Airsoft Guns If you are looking for high-quality, yet cheap, airsoft guns, then check out MrAirsoft.com |
|
|||||
|
I know - I think I've solved it, though. I'm just fixing it now.
It is IE that is the problem. IE is absolutely awful at rendering pages, and completely messes up on the Acid test (to see how good it is at displaying pages). Unfortunately, as IE is so popular, designers must make the page compatible, even if doing so introduces errors in the code. However, the beta of IE8 passes the test, so maybe things are about to change... but what will happen to all those pages that were designed (with errors) to work on previous versions of IE? ![]() |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Layout problem with IE7 | Alhazred | HTML Programming | 2 | 05-17-2008 12:37 PM |
| Tutorial: Advanced SQL | Jordan | Tutorials, Classes and Code | 2 | 04-07-2008 03:18 PM |
| Mysql/Php help need | mittalmak | PHP Forum | 17 | 01-12-2008 12:36 PM |
| ODBC API - Special Table and Column Names | Tronman | Database & Database Programming | 0 | 07-30-2007 12:52 PM |
| Size of Table | dirkfirst | PHP Forum | 2 | 08-06-2006 12:44 PM |