Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CSS & IE problem!

Featured Replies

Hey,

 

Getting pretty annoyed over something simple.

 

I have some of my text in H1 and H2 tags for SEO purposes, but im styling them so they dont look any different!

 

Right, my website in FF:

 

www.elliothesp.co.uk

 

Looks fine, but then on the uni computers on IE:

 

http://i232.photobucket.com/albums/ee81/_Alias_/ehesp.gif

 

ehesp.gif

 

Now my CSS:

 

h1{color:#efefef; font-family:Tahoma, Geneva, sans-serif;text-shadow: 1px 1px 1px #000;line-height:23px; font-size: 12px !important; font-weight: normal; font-style: normal;}

h2{color:#efefef; font-family:Tahoma, Geneva, sans-serif;text-shadow: 1px 1px 1px #000;line-height:20px; font-size: 12px !important; font-weight: normal; font-style: normal;}

 

Whats up with that? Not sure if the !important is right

 

Ta

  • Author

Yeah but some of them are due to wordpress are they not?

 

Also, I dont have it like that :/

 

<div id="whocontent"><h1>Im Elliot Hesp, a self.. *text*</h1></div>

 

Thats how I have it, a h1 inside a div :/

Looks fine in IE8 and 7. What are the uni ones running?

 

Maybe your uni is running IE6, try without the "!important" as that is on the font sizes (which seems to be the problem) and I am not sure if IE6 supported that properly in CSS or not.

 

Really this is a misuse of H* tags. These are for headings - stuffing them with text will more likely harm your SEO than improve it. 'Who' & 'Latest Blog' etc - they are headings - as if you were writing a document.

  • Author

Yeah it must be something to do with the Uni computers!

 

And I was using the senSEO add on for firebug, it said I should use H1 tags with all the relevant information in it, and thats what I thought was best... May look into that

<div id="whocontent"><h1>Im Elliot Hesp, a self.. *text*</h1></div>

 

Thats how I have it, a h1 inside a div :/

 

Not the h1, it's the h2 that is including divs and other stuff and you should recode that part.

  • Author

Yup its all validated now, sorted the head stuff out.

 

Will just put the h2 tags inside the divs, which I dont know why I didnt do anyway. Thanks alot.

Hey,

 

Getting pretty annoyed over something simple.

 

I have some of my text in H1 and H2 tags for SEO purposes, but im styling them so they dont look any different!

 

Right, my website in FF:

 

www.elliothesp.co.uk

 

h1{color:#efefef; font-family:Tahoma, Geneva, sans-serif;text-shadow: 1px 1px 1px #000;line-height:23px; font-size: 12px !important; font-weight: normal; font-style: normal;}

h2{color:#efefef; font-family:Tahoma, Geneva, sans-serif;text-shadow: 1px 1px 1px #000;line-height:20px; font-size: 12px !important; font-weight: normal; font-style: normal;}

 

Whats up with that? Not sure if the !important is right

 

Ta

 

Don't know but i have had problems with IE and websites and its somtime a simple error like no spaces in the CSS

 

sans-serif;text-shadow:

 

The space by the ';'

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.