d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > How Do You Make It So Text Is The Same Size In All > Browsers?
12Next
Add Reply New Topic New Poll
Member
Posts: 9,412
Joined: Nov 18 2009
Gold: 20.00
Nov 21 2012 02:57pm

in ie the text is much larger then in other browsers on my website: http://www.barcelonadayspa.com/
Member
Posts: 1,628
Joined: Aug 11 2012
Gold: 628.00
Nov 21 2012 04:12pm
most people make a separate CSS file for IE, since it displays things much differently than most browsers.

and you can attach it like this:

Code
[if IE]
      <link rel="stylesheet" href="ie_style.css" />
[endif]


This post was edited by Huayra on Nov 21 2012 04:14pm
Member
Posts: 10,812
Joined: Oct 15 2009
Gold: Locked
Warn: 20%
Nov 21 2012 08:04pm

nice...
Member
Posts: 9,412
Joined: Nov 18 2009
Gold: 20.00
Nov 21 2012 08:18pm
Quote (Huayra @ Nov 21 2012 04:12pm)
most people make a separate CSS file for IE, since it displays things much differently than most browsers.

and you can attach it like this:

Code
[if IE]
      <link rel="stylesheet" href="ie_style.css" />
[endif]


is there anyway to do conditions within a css file?
Member
Posts: 9,412
Joined: Nov 18 2009
Gold: 20.00
Nov 21 2012 08:19pm
Quote (Azrad @ Nov 21 2012 08:04pm)
http://s7.postimage.org/zd0z7n76j/Untitled.png
nice...


which browser?
Member
Posts: 9,412
Joined: Nov 18 2009
Gold: 20.00
Nov 21 2012 08:20pm
Quote (Azrad @ Nov 21 2012 08:04pm)
http://s7.postimage.org/zd0z7n76j/Untitled.png
nice...


I am using jquery for that and unfortunately, as I am new to web design, I did not test browser compatibility.

I know it is compatible with the latest versions of safari, firefox, and Chrome. That is it.

This post was edited by PixileDust on Nov 21 2012 08:21pm
Member
Posts: 10,812
Joined: Oct 15 2009
Gold: Locked
Warn: 20%
Nov 21 2012 08:28pm
Quote (PixileDust @ Nov 21 2012 07:20pm)
I am using jquery for that and unfortunately, as I am new to web design, I did not test browser compatibility.

I know it is compatible with the latest versions of safari, firefox, and Chrome. That is it.


Firefox 17.0; the current version




This post was edited by Azrad on Nov 21 2012 08:31pm
Member
Posts: 9,412
Joined: Nov 18 2009
Gold: 20.00
Nov 21 2012 08:30pm
Quote (Azrad @ Nov 21 2012 08:28pm)
Firefox 17.0; the current version


I have browser leveraging, so if you look at it again it won't be there.

That is probably why I don't see it either.


Other than that, does the design look okay to you?

This post was edited by PixileDust on Nov 21 2012 08:30pm
Member
Posts: 9,412
Joined: Nov 18 2009
Gold: 20.00
Nov 21 2012 08:32pm
Quote (Azrad @ Nov 21 2012 08:28pm)
Firefox 17.0; the current version


http://s10.postimage.org/l26f3vpuh/Untitled.png


great. the font stopped appearing, and it messed up the whole layout

This stuff can be depressing

This post was edited by PixileDust on Nov 21 2012 08:32pm
Member
Posts: 9,412
Joined: Nov 18 2009
Gold: 20.00
Nov 21 2012 08:34pm
I fixed the font, but it looks like shit in firefox for some reason...

Code
@font-face {
font-family: "league-gothic-reg";
src: url('fonts/league-gothic-reg.eot');
src: url('fonts/league-gothic-reg.eot?#iefix') format('embedded-opentype'),
     url('fonts/league-gothic-reg.woff') format('woff'),
     url('fonts/league-gothic-reg.ttf')  format('truetype'),
     url('fonts/league-gothic-reg.svg#svgFontName') format('svg');
}


This post was edited by PixileDust on Nov 21 2012 08:34pm
Go Back To Programming & Development Topic List
12Next
Add Reply New Topic New Poll