![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Earn enough to buy coffee
Industry Role:
Join Date: May 2002
Location: San Diego, Ca.
Posts: 4,912
|
![]() Is there a way with CSS to keep my website font size the same? This way if someone comes to my site with their default font size set at 27, it will look the same as someone with their font size 16. I have tried using 'em' instead of 'px', but no luck. Any help would be great.
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
I make pixels work
Industry Role:
Join Date: Jun 2005
Location: I live here...
Posts: 24,386
|
no - best you can do is prevent spacing issues with overflow:auto;
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Dec 2002
Location: Behind the scenes
Posts: 5,190
|
static sizes defined by px, relative by ems
good article on topic http://www.alistapart.com/articles/howtosizetextincss/
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
I make pixels work
Industry Role:
Join Date: Jun 2005
Location: I live here...
Posts: 24,386
|
hrmmm... if you define it by actual pixels it wont change when a surfer ups their text size?
I thought i tried that once... ill have to experiment again...
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Rock 'n Roll Baby!
Join Date: Sep 2004
Location: USA, temporarly
Posts: 22,562
|
Just set the font-size in px instead of em and it'll be fixed to the size, no matter what's the default text size in surfer's browser.
__________________
Sig for sale. Affordable prices. Contact me and get a great deal ;) My contact: ICQ: 944-320-46 e-mail: manca {AT} HotFreeSex4All.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Jan 2006
Location: Houston, TX
Posts: 1,477
|
Can any of you recommend a good CSS for dummies book, por favor?
__________________
Porn's Best Kept Secret : PSOCash.com : Make Money Promoting Phone Sex in Members Areas, TGPs, and MORE! : Lifetime 30% Payout
Best Webcam Referral Payouts |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
I make pixels work
Industry Role:
Join Date: Jun 2005
Location: I live here...
Posts: 24,386
|
Quote:
and PSS - just look through other sites and w3c has a lot of useful basic info... no book, just research
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Jul 2006
Posts: 620
|
Code:
html{font-size:16px;} ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Bland for life
Industry Role:
Join Date: Nov 2004
Posts: 10,468
|
Code:
* { font-size: 16px; }
__________________
★★★
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Porn Meister
Industry Role:
Join Date: Feb 2005
Posts: 16,443
|
I thought you could use !important to help keep things an exact size.. even to override a browser with a modified text size.
__________________
43-922-863 Shut up and play your guitar. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Jun 2001
Location: Closer than you think
Posts: 9,535
|
very helpful thread
![]()
__________________
Need Mainstream Content and SEO? SEO * Website Copy * Blogs Blogging - PR Work - Forum Marketing - Social Marketing - Link building - Articles 100% Guaranteed Content! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed User
Join Date: Feb 2002
Location: Canada
Posts: 1,011
|
Be aware, that some browsers don't ZOOM like they are supposed to. Its been a while, but I think it might be IE6 that uses its own zooming technique, different from the standard ctrl+-
__________________
If Satan Wore a Hairpeice, there would be HELL TOUPEE!! pbbc fo li
HTML Porn |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Join Date: Feb 2002
Location: Canada
Posts: 1,011
|
!important makes the CSS rule overrule any other CSS rule
div { color: red!important } div { color: blue; } in this case, it would take the red, keep in mind how specificity and the cascade works too
__________________
If Satan Wore a Hairpeice, there would be HELL TOUPEE!! pbbc fo li
HTML Porn |
![]() |
![]() ![]() ![]() ![]() ![]() |