Jump to content

[SOLVED] css problam in php


redarrow

Recommended Posts

why my css only working with ie, and not new Firefox version please help

 

it is in a php file..

 

<br>

<hr STYLE=" color: #3366f;  background-color: #3366f; width: 1218px;">
<div align="center"><b>(c) www.</b></div>
<hr STYLE="color: #3366f; background-color: #3366f; width: 1218px;">

Link to comment
https://forums.phpfreaks.com/topic/145192-solved-css-problam-in-php/
Share on other sites

can anybody give me a link, to get the difference in px and present % and overs please.

 

confusing me.

 

example is 100% mean 1000px how it work lol, going mad.

 

i need, a chart badly, so i dont have to keep looking at the page please.

 

begging and crying for a chart or a written one on here pretie please.

 

 

You cannot say that x% = x px. It doesn't work that way. Percentages is a way of specifying the size relatively, but pixels is a way of specifying the size in absolute measure.

 

Take a look at this for instance (pseudo-code):

elem1 {
size: 10px;
}
elem1 elem2 {
size: 90%;
}

 

The size (whatever that might mean) of an elem2 element inside an elem1 element will be: 10px * .9 = 9px

 

Now check this out:

elem1 {
size: 10px;
}
elem1 elem2 {
size: 90px;
}

 

Now the size of an elem2 element inside an elem1 element will be 90px and 90px is always 90px.

ok mate.

 

I fort with knowing, a programmer could do it. in the size off a monitor.

 

example

 

14 inch

19 inch

22 inch

28 inch

 

a script that can do this to get the correct results. (( i no i am dreaming off such code or calc

 

thank you anyway your the best.

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.