Jump to content

[SOLVED] CSS design question


ohdang888

Recommended Posts

i'm having a lot of problems with this....

 

the pic of my site is below, still in localhost,

i want to add extra stuff below all of this.

 

but it keep on adding it to the second column...

 

 

 

 

and how would i use CSS in a .php doc???

 

[attachment deleted by admin]

You probably just need to add a new div, it's hard to help without seeing any code though.

 

You would add CSS to your php files by either putting it outside the PHP tags, or use the echo or print function.

You can just echo it

<?php
echo "<span style=\"color:red;font-weight:bold;\">This is red and bold styled text.</span>";
?>

or just stop PHP script and write it directly as CSS.

<?php
$var = "some variable";
//stop php
?>
<!--style text-->
<span style="color:red;font-weight:bold;">This is red and bold styled text.</span>
<?php
//continue php
echo $var;
?>

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.