Old 03-01-2008, 14:26   #1 (permalink)
jesusfreak101
ie must die
 
jesusfreak101's Avatar
 
Join Date: Jun 2007
Location: Washington
Posts: 853
Send a message via AIM to jesusfreak101
IE problem

i have a website im creating and i have a problem on one of the pages. i add a padding to the right side of the image so the text wont be close to the image. it works good in firefox, but in IE it sucks! IE always has to mess it up...heres a a link to see the code:

John T. Droesch, MD : Contact Us

and its the image of the map...let me know of any solutions

p.s. - to all css developers I KNOW its tables, im working on the css thing...im learning
  Reply With Quote
Old 03-01-2008, 14:32   #2 (permalink)
herkalees
Semantics, yay.
 
herkalees's Avatar
 
Join Date: Nov 2005
Location: Salem, Massachusetts
Posts: 1,146
I haven't looked at the code (I have to run a virtual-machine to use IE6, and I'm lazy), but you should be adding margin to the right side of your image if you want to push something away from it, not padding.
__________________
  Reply With Quote
Old 03-01-2008, 14:44   #3 (permalink)
jesusfreak101
ie must die
 
jesusfreak101's Avatar
 
Join Date: Jun 2007
Location: Washington
Posts: 853
Send a message via AIM to jesusfreak101
also if you go on the about page, that image has no padding or margin and still shows like it has some ????
  Reply With Quote
Old 03-01-2008, 15:45   #4 (permalink)
herkalees
Semantics, yay.
 
herkalees's Avatar
 
Join Date: Nov 2005
Location: Salem, Massachusetts
Posts: 1,146
Quote:
Originally Posted by jesusfreak101
also if you go on the about page, that image has no padding or margin and still shows like it has some ????
That's because the image, itself, has whitespace in it (on the right and bottom sides).
__________________
  Reply With Quote
Old 03-01-2008, 16:27   #5 (permalink)
jesusfreak101
ie must die
 
jesusfreak101's Avatar
 
Join Date: Jun 2007
Location: Washington
Posts: 853
Send a message via AIM to jesusfreak101
oh i thought i had already uploaded the new pic, srry
  Reply With Quote
Old 03-01-2008, 16:31   #6 (permalink)
josse
Registered User
 
Join Date: Jan 2008
Posts: 26
Also you should always include this CSS

* { margin: 0; padding: 0; }

Margin and padding are slightly different in each browser.

I do recommend to study some CSS. It's not that hard!

Here is a good start!

w3schools.com/css
  Reply With Quote
Old 03-01-2008, 17:08   #7 (permalink)
pgo
Senior Member
 
Join Date: Jan 2005
Posts: 12,340
Quote:
Originally Posted by josse
Also you should always include this CSS

* { margin: 0; padding: 0; }

Margin and padding are slightly different in each browser.
While you're almost right, that can cause some headaches (particularly with forms). Better to use a CSS reset like the one Yahoo! puts out.
  Reply With Quote
Old 03-01-2008, 17:45   #8 (permalink)
herkalees
Semantics, yay.
 
herkalees's Avatar
 
Join Date: Nov 2005
Location: Salem, Massachusetts
Posts: 1,146
Quote:
Originally Posted by josse
Also you should always include this CSS

* { margin: 0; padding: 0; }

Margin and padding are slightly different in each browser.

I do recommend to study some CSS. It's not that hard!

Here is a good start!

w3schools.com/css
That does some silly stuff to form inputs on Firefox. As pgo already mentioned, Google 'round for 'CSS reset'.
__________________
  Reply With Quote
Old 03-01-2008, 18:15   #9 (permalink)
jesusfreak101
ie must die
 
jesusfreak101's Avatar
 
Join Date: Jun 2007
Location: Washington
Posts: 853
Send a message via AIM to jesusfreak101
Quote:
Originally Posted by josse
Also you should always include this CSS

* { margin: 0; padding: 0; }

Margin and padding are slightly different in each browser.

I do recommend to study some CSS. It's not that hard!

Here is a good start!

w3schools.com/css

i know css, i just need to learn more on positioning and setting it to look like i want it. relatively tables are really easy for me cause i slice them in photoshop then just import to dreamweaver but yes i am learning it. i might get that CSS for dummies
  Reply With Quote
Old 03-01-2008, 18:18   #10 (permalink)
datahound
Spare Parts
 
datahound's Avatar
 
Join Date: Jan 2005
Location: Bracknell Forest
Posts: 5,092
ook!
__________________
  Reply With Quote
Old 03-01-2008, 18:18   #11 (permalink)
jesusfreak101
ie must die
 
jesusfreak101's Avatar
 
Join Date: Jun 2007
Location: Washington
Posts: 853
Send a message via AIM to jesusfreak101
also, how do you guys like the design?
  Reply With Quote
Old 04-01-2008, 09:07   #12 (permalink)
josse
Registered User
 
Join Date: Jan 2008
Posts: 26
Quote:
Originally Posted by herkalees
That does some silly stuff to form inputs on Firefox. As pgo already mentioned, Google 'round for 'CSS reset'.

I certainly agree, but if you don't use any forms it's a quick and dirty way to get it right...
  Reply With Quote
Old 04-01-2008, 09:25   #13 (permalink)
josse
Registered User
 
Join Date: Jan 2008
Posts: 26
Quote:
Originally Posted by jesusfreak101
also, how do you guys like the design?

I had a very quick look at it...

The design looks ok to me... I think it represents the subject. I do have the feeling it misses a bit content and more pics?

On web usability a few quick remarks though...

Droesch/practice.html

- Gives me (Firefox on mac) a scrollbar on the right which is very confusing for users. So try to get rid off it

You should always give another color to a visited link so the users know they already visited it... and give the amount of mb between brackets of a downloadable pdf (e.g. PDF - 5MB).
You even should always underline a link, but that can be very ugly and devistating to a design, so underlining on rollover is just fine (like you did)

I also think you should add a sitemap... it gives a nice overview of your site when people are stuck or don't find what they are looking and search engine spiders love it!

Hope this can help you a bit....

cheers
J
  Reply With Quote
Old 04-01-2008, 11:06   #14 (permalink)
pgo
Senior Member
 
Join Date: Jan 2005
Posts: 12,340
The design's alright enough, I guess. Problems that jump out at me:
  • The height is limited (on "Practice Emphasis") so you force internal scroll bars - that's a really bad usability practice. Font resizing works on most other pages.
  • The navigation buttons have that maroon strip above them even when they change (and how the active/hover state has a little blue chip out of the bottom right corner).
  • Most of the headings are text-as-images.
  • The dark border around the whole thing (matter of taste).
  • The logo/banner and the nav buttons have centered text (matter of taste).
Overall, it looks too much like it's designed for print or another static medium. Like a website trying to be a brochure.

Quote:
Originally Posted by jesusfreak101
i know css
That's obviously not true.

Quote:
Originally Posted by josse
I certainly agree, but if you don't use any forms it's a quick and dirty way to get it right...
Is it really any more complicated than importing the Yahoo! Reset CSS at the beginning of your main stylesheet?

Code:
@import 'http://yui.yahooapis.com/2.4.1/build/reset/reset-min.css';
  Reply With Quote
Old 04-01-2008, 11:12   #15 (permalink)
iamAdam
Registered User
 
Join Date: Jan 2008
Posts: 7
Simply take out the padding-right for the image, and place the text in a paragraph. eg: <p class="text"></p>
Then in your css, p.text { padding-left: 10px; }

This should fix your problem.
  Reply With Quote
Old 05-01-2008, 00:22   #16 (permalink)
josse
Registered User
 
Join Date: Jan 2008
Posts: 26
Quote:
Overall, it looks too much like it's designed for print or another static medium. Like a website trying to be a brochure.
That's not always a bad thing in my opinion, depends a bit on your audience

Quote:
Is it really any more complicated than importing the Yahoo! Reset CSS at the beginning of your main stylesheet?
No, it's less complicated... I think using the star selector is more straightforward for a beginner in CSS then using @import, but I could be wrong.


I also think that this topic is covered now...
  Reply With Quote
Old 05-01-2008, 06:36   #17 (permalink)
ptron
maker of graphics + stuff
 
ptron's Avatar
 
Join Date: Dec 2007
Location: Brisbane, Australia
Posts: 200
its one of the biggest problems for web developers tryin to get css layouts to work right in all browsers.

i have found ie7 and firefox synche up lately. ie6 and firefox can be a nightmare
but depending on what you doin firefox has caused me all sorts of problems particualry with the elusive sticky footer issue.

try checkin out css sites and learnig what they do.
css Zen Garden: The Beauty in CSS Design is a good one
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8