•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 426,883 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,376 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 647 | Replies: 6
![]() |
•
•
Join Date: Apr 2008
Posts: 8
Reputation:
Rep Power: 0
Solved Threads: 0
I've been having problems getting my layout to be compatible across browsers.
I finally got it doing what I want in IE7, but when I opened it up in Firefox it had all kinds of crazy scrollbars going on everywhere. If I took out the "WIDTH" attribute the scrollbar changed where it was in IE.
http://www.sakuracities.com/test2/index.html
Basically I just wanted it to turn out like this: http://www.sakuracities.com/yaoigames/kkmnovel1.php
I don't care that the scrollbar is gray in other browsers, just that it's where it's supposed to be and there aren't random horizontal scrollbars and such. It's probably simple stuff for professionals, but I haven't coded anything in a long time and I've never had much experience with DIV layers. I mostly just know them from trial and error.
All the stuff is right here (less than 200KB): http://download.yousendit.com/47731FBB31AE0484
I know I always like to have it open in my browser while I work on it.
If anyone could tell me what's messing it up it'd be greatly appreciated. I've spent all my time translating - I don't think I've even attempted to update the layout for around 2 years. I'm incredibly rusty.
I finally got it doing what I want in IE7, but when I opened it up in Firefox it had all kinds of crazy scrollbars going on everywhere. If I took out the "WIDTH" attribute the scrollbar changed where it was in IE.
http://www.sakuracities.com/test2/index.html
Basically I just wanted it to turn out like this: http://www.sakuracities.com/yaoigames/kkmnovel1.php
I don't care that the scrollbar is gray in other browsers, just that it's where it's supposed to be and there aren't random horizontal scrollbars and such. It's probably simple stuff for professionals, but I haven't coded anything in a long time and I've never had much experience with DIV layers. I mostly just know them from trial and error.
All the stuff is right here (less than 200KB): http://download.yousendit.com/47731FBB31AE0484
I know I always like to have it open in my browser while I work on it.
If anyone could tell me what's messing it up it'd be greatly appreciated. I've spent all my time translating - I don't think I've even attempted to update the layout for around 2 years. I'm incredibly rusty.
That is a great resolution for a visitor/user but, terrible for a web designer/developer. Assume the user has the least technology available. Scale the resolution down and retest. I would also recommend keeping in mind that Windows XP is the predominant (largely) operating system on the planet. It ships with IE6 so that's one browser that I would test on. Yes, I think IE7 both looks better and has better security, but it's not my opinion that matters, it's the users'. You can't force a gun down their throat to download a different or updated browser. Google IE6 standalone to find a good, fast downloading, and low processor intensive browser. I think you're going to find that the web has changed a bit since you left it. XHTML is slowly replacing HTML, but it's not gonna be that big of a step for you. We don't use capital letters or the font tag anymore. Other than that, not much has changed. You'll find that IE is not the most standards compliant browser, but you'll learn workarounds. You'll also learn that Firefox is almost always right, even though most of the noobs claim that their site works in IE but not Firefox (mainly because their code is deprecated or incorrect and IE has fixed it for them). The main thing to remember is don't give up. In a couple of hours you'll have your page looking great in every browser, and you'll be glad you took the minute to get things right.
Above all, welcome back.
Above all, welcome back.
Last edited by buddylee17 : Apr 2nd, 2008 at 11:52 pm.
Realize that if you put size styles (width, height) and border styles (margin, border, padding) in the same tag or style, it will always mess up on either IE or FF. They display these styles in the opposite nesting order (FF follows the W3C standard).
The trick is to nest two tags, one with size styles, and the other with surround styles. Then YOU get to select the nesting order, and the page works on all browsers.
The trick is to nest two tags, one with size styles, and the other with surround styles. Then YOU get to select the nesting order, and the page works on all browsers.
Last edited by MidiMagic : Apr 12th, 2008 at 3:32 am.
Daylight-saving time uses more gasoline
![]() |
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- HTML/CSS DIV help needed (HTML and CSS)
- Problems using a php generator (PHP)
- DIV Help! (HTML and CSS)
- problems aligning lists with CSS (HTML and CSS)
- Problems Viewing My Table Correctly in IE (Site Layout and Usability)
- scrolling div ? (HTML and CSS)
- Problems with html code (HTML and CSS)
- Removing coding problems (HTML and CSS)
- Heading tags and div tags (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: navigation using ul li: how to make one item selected?
- Next Thread: DOCTYPE and META TAGS



Linear Mode