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.

Text size issues with IE7

Featured Replies

Hello Group

 

I'm having problems solving a text size issue with IE7. I've attached a couple of screen grabs to illustrate the problem.

 

Site is www.neilleslie.com

 

Here's how it should look

2352936378_b3926bcaf1_o.jpg

 

And here's how it looks in IE

2352936084_b8fd366d8b_o.jpg

 

Any advice most appreciated.

 

Here,s my stylesheet.

 

/* CSS Document */
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #000000;
text-align: center;
margin: 0px;
padding-top: 20px;
padding-right: 0px;
padding-bottom: 20px;
padding-left: 0px;
background-color: white

}
text1{ color: #000000; 
   font-family: Verdana, Arial, Helvetica, sans-serif; 
   font-size: 20pt;
   line-height: 1em; 
   }

   thumbtext{ color: #000000; 
   font-family: Verdana, Arial, Helvetica, sans-serif; 
   font-size: 7pt;
   line-height: 1em; 
   }
   hellotext{ color: #000000; 
   font-family: Verdana, Arial, Helvetica, sans-serif; 
   font-size: 20pt;
   line-height: 1.55em; 
   }


IMG.displayed {
display: block;
margin-left: auto;
margin-right: auto }







#wrapper {
width: 800px;
padding: 10px;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
height: 500px;
text-align: left;
border: 1px solid #000000;
}
#header1 {
margin: 0px;
padding: 0px;
height: 50px;
width: 800px;
text-align: center;
background-color: #ffffff;
}
#headerlinksleft {
margin: 0px;
padding: 0px;
height: 15px;
width: 80px;
float: left;
text-align: center;
background-color: #ffffff;
}
#headerhome {
margin: 0px;
padding: 0px;
height: 15px;
width: 80px;
float: left;
text-align: center;
background-color: #ffffff;
}
#headerport {
margin: 0px;
padding: 0px;
height: 15px;
width: 80px;
float: left;
text-align: center;
background-color: #ffffff;
}
#headerstock {
margin: 0px;
padding: 0px;
height: 15px;
width: 80px;
float: left;
text-align: center;
background-color: #ffffff;
}
#headerclients {
margin: 0px;
padding: 0px;
height: 15px;
width: 80px;
float: left;
text-align: center;
background-color: #ffffff;
}
#headerprocess {
margin: 0px;
padding: 0px;
height: 15px;
width: 80px;
float: left;
text-align: center;
background-color: #ffffff;
}
#headerbio {
margin: 0px;
padding: 0px;
height: 15px;
width: 80px;
float: left;
text-align: center;
background-color: #ffffff;
}
#headerblog {
margin: 0px;
padding: 0px;
height: 15px;
width: 80px;
float: left;
text-align: center;
background-color: #ffffff;
}
#headercontact {
margin: 0px;
padding: 0px;
height: 15px;
width: 80px;
float: left;
text-align: center;
background-color: #ffffff;
}
#headerlinksright {
margin: 0px;
padding: 0px;
height: 15px;
width: 80px;
float: left;
text-align: center;
background-color: #ffffff;
}
#header11 {
margin: 0px;
padding: 0px;
height: 10px;
width: 800px;
float: left;
text-align: center;
background-color: #ffffff;
}

#header {
margin: 0px;
padding: 0px;
height: 70px;
width: 800px;
text-align: center;
background-color: #ffffff;
}

#header a {
padding: 0px;
}
#container {
padding: 0px;
margin-top: 10px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
width: auto;
}


a:link {color:#000000; text-decoration:none }
a:visited {color:#000000; text-decoration:none }
a:hover {color:#999999; text-decoration:none }
a:active {color:#000000; text-decoration:none }

#spacer {
margin: 0px;
width: 800px;
height: 425px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
float: left;
background-color: #ffffff;
}

#hello {
margin: 0px;
width: 314px;
height: 425px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
float: left;
background-color: #ffffff;
}
#hellospacer {
margin: 0px;
width: 20px;
height: 425px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
float: left;
background-color: #ffffff;
}
#helloright {
margin: 0px;
width: 466px;
height: 425px;
text-align: left;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
float: left;
background-color: #ffffff;
}

#top {
margin: 0px;
width: 800px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
float: left;
background-color: #ffffff;
}

#left {
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
height: 30px;
width: 70px;
float: left;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
background-color: #ffffff;
}

#center {
height: 30px;
width: 280px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
float: left;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
line-height: 1.8em;
background-color: #ffffff;
}

#mainarea {
height: 425px;
width: 800px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
float: left;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
line-height: 1.8em;
background-color: #ffffff;
}

h1 {
font-size: 14px;
margin: 0px;
padding: 0px;
}
#right {
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
height: 30px;
width: 450px;
float: left;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
background-color: #ffffff;
}

#bottom {
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
height: 220px;
width: 800px;
float: left;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
background-color: #ffffff;
}

#spacer2 {
margin: 0px;
width: 800px;
height: 43px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
float: left;
background-color: #ffffff;
}

.thumbnail
{
float: left;
width: auto;
border: 0px solid #999;
margin: 0 0px 0px 0;
padding-right: 15px;
padding-bottom: 12px
}

#portfolio {
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
overflow: auto;
width: 138px;
height: 425px;

float: left;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
background-color: #ffffff;
}
#leftspacer {
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
width: 138px;
height: 425px;
float: left;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
background-color: #ffffff;
}


#loadarea {
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
height: 425px;
width: 524px;
float: left;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
background-color: #ffffff;
}
.show { display: block; }
.hide { display: none; }


.clearboth { clear: both; }


#thumbBox{ /*Outermost DIV for thumbnail viewer*/
position: absolute;
left: 0;
top: 0;
width: auto;
padding: 10px;
padding-bottom: 0;
background: #313131;
visibility: hidden;
z-index: 10;
cursor: hand;
cursor: pointer;
}

#thumbBox .footerbar{ /*Footer DIV of thumbbox that contains "close" link */
font: 12px Verdana;
letter-spacing: 5px;
line-height: 1.1em;
color: white;
padding: 5px 0;
text-align: left;
}


#thumbBox #thumbImage{ /*DIV within thumbbox that holds the enlarged image */
background-color: white;
}

#thumbLoading{ /*DIV for showing "loading" status while thumbbox is being generated*/
position: absolute;
visibility: hidden;
border: 1px solid black;
background-color: #EFEFEF;
padding: 5px;
z-index: 5;
}


#biobox {
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
text-align: left;
overflow: auto;
width: 800px;
height: 425px;
float: left;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
background-color: #ffffff;
}

#leftspace {
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
width: 0px;
height: 425px;
float: left;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
background-color: #ffffff;
}
.clearer {
font-size: 0px;
line-height: 0px;
display: block;
margin: 0px;
padding: 0px;
clear: both;
height: 0px;
width: auto;
}
#footer {
margin-top: 10px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
text-align: center;
padding-top: 15px;
padding-right: 0px;
padding-bottom: 15px;
padding-left: 0px;
background-color: #ffffff;
}

Go to IE tools/internet options/accessability /

Is "ignore font sizes on webpages" ticked?

 

View/Textsize set to meduim?

 

Then refresh page.

The reason is that you're not using valid HTML.

Extract of your HTML:

<div id="helloright">
<hellotext>
I make contemporary collage illustrations mixing old style scissors and glue with digital cut and paste. I do it for design projects, advertising agencies and publishers of newspapers, books and magazines. Sometimes I make art, too. Perhaps you would like me to create something for you. I would like that very much.<br>
</hellotext>
</div>

 

<hellotext> is not an HTML tag and you can not make up your own tags. You have to use the ones defined in the HTML specifications. Firefox seems to apply the CSS to the invalid element, but IE ignores it.

 

There's also other issues. Some elements isn't closed, many IMG and some DIVs and some tags and attributes are written in uppercase while XHTML requires them to the lower case.

 

Before you try to correct any of your CSS you should sort out your HTML. With invalid markup there's no way of predicting how your page will be rendered. It's hard enough when it is valid.

 

For some HTML refreshers I recommend HTML Dog. http://www.htmldog.com/

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.