doctorbill
asked on
css formating
I have the following php variable:
$sold= "<strong>>> S OLD</stron g>";
If a record row is not empty the variable is correctly being shown on my web page:
<?php if (!empty($row_artGallery[ar tgal_stat] )) {
echo $space.$space.$sold; } ?>" />
I simple need to add a css style to this echo command such that the echoed value is RED in colour
On another note, please can someone tell me the correct css formating for Internet Explorer version 8 and above
to align div's and text left or centrally and to remove the border around images if they are hyperlinks. My css rules work perfectly in
Google chrome, Firefox and Safari but not in internet explorer
$sold= "<strong>>> S
If a record row is not empty the variable is correctly being shown on my web page:
<?php if (!empty($row_artGallery[ar
echo $space.$space.$sold; } ?>" />
I simple need to add a css style to this echo command such that the echoed value is RED in colour
On another note, please can someone tell me the correct css formating for Internet Explorer version 8 and above
to align div's and text left or centrally and to remove the border around images if they are hyperlinks. My css rules work perfectly in
Google chrome, Firefox and Safari but not in internet explorer
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I've requested that this question be closed as follows:
Accepted answer: 83 points for rgranlund's comment #a39220631
Assisted answer: 84 points for rgranlund's comment #a39219536
Assisted answer: 84 points for gr8gonzo's comment #a39219544
Assisted answer: 83 points for hielo's comment #a39219545
Assisted answer: 83 points for Ray_Paseur's comment #a39219763
Assisted answer: 0 points for doctorbill's comment #a39220146
Assisted answer: 83 points for Ray_Paseur's comment #a39220502
for the following reason:
As usual - solution
Accepted answer: 83 points for rgranlund's comment #a39220631
Assisted answer: 84 points for rgranlund's comment #a39219536
Assisted answer: 84 points for gr8gonzo's comment #a39219544
Assisted answer: 83 points for hielo's comment #a39219545
Assisted answer: 83 points for Ray_Paseur's comment #a39219763
Assisted answer: 0 points for doctorbill's comment #a39220146
Assisted answer: 83 points for Ray_Paseur's comment #a39220502
for the following reason:
As usual - solution
ASKER
Solution
ASKER
--------------------------
$sold="<span class='sold'>SOLD</span>";
<style>
.sold{
font-family:Ariel;
font-size:13px;
color:RED;
padding-left:10px;
}
.sold img {
border:none;
}
</style>
--------------------------
I have just realised I need to also echo out an image in the same way - I presume I need to use img src tag ?