•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 401,974 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,766 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 JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 784 | Replies: 2
![]() |
•
•
Join Date: Feb 2008
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Hi
I built a website in dreamweaver, (on a mac). The pictures are aligned great, in Firefox and Safari.
When I open Explorer, the picture at the homepage is smaller and doesn't cover all the cell. it's in the middle and there is a lot of black around it.
How do I change that?
2. How do I make sure the size of the page stays fixed across browsers/computers? it seems to change from one computer to the next.
Thanks a bunch!
N.
I built a website in dreamweaver, (on a mac). The pictures are aligned great, in Firefox and Safari.
When I open Explorer, the picture at the homepage is smaller and doesn't cover all the cell. it's in the middle and there is a lot of black around it.
How do I change that?
2. How do I make sure the size of the page stays fixed across browsers/computers? it seems to change from one computer to the next.
Thanks a bunch!
N.
•
•
Join Date: Jan 2008
Location: Bangalore, India
Posts: 336
Reputation:
Rep Power: 0
Solved Threads: 32
•
•
•
•
the homepage is smaller and doesn't cover all the cell. it's in the middle and there is a lot of black around it.
in container tag add width/height property....hope it will help
•
•
•
•
How do I make sure the size of the page stays fixed across browsers/computers? it seems to change from one computer to the next.
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
~Mitch Ratcliffe
~Mitch Ratcliffe
•
•
•
•
2. How do I make sure the size of the page stays fixed across browsers/computers? it seems to change from one computer to the next.
You don't.
What you want is impossible.
Since different browsers use different rendering methods, and different computers have different screen resolutions, this is an unsolvable problem. Anything done to fix one particular computer's view messes up other computers' views.
In addition, each user may have selected a different base font size for legibility.
The best you can do is make stuff small enough to fit on the lowest screen resolution you intend clients to be able to use, and put things at the top of the page. Then, at least all computers within your limit can display the page without scrolling.
One tip: Don't put both defined object sizes (height and width) and surrounding styles (margin, border, and padding) on the same block tag. Instead, nest two block tags, one with sizes, and the other with surrounding styles.
IE and FF render such combined-use tags in opposite orders of style nesting (IE puts the surrounding styles inside the sizes, FF puts the sizes inside the surrounding styles).
Last edited by MidiMagic : Feb 24th, 2008 at 8:05 am.
Daylight-saving time uses more gasoline
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Previous Thread: JavaScript+doc+api???
- Next Thread: Background music start



Linear Mode