CSS - Css An Echo?
hey guys i have this nice page but there is an echo $username in there and it is ugly..lol
is it possible to make the echo the same color as the rest of the text? php echo "hello" color... ?> or something? Similar TutorialsHey guys is t possible to hhave my query echo in rows intead of one afther the other? like regualr echo will show(depending on how many values are in the DB) ggggggg llllllllllllllllll ddddddd i would like ggggggg iiiiiiiiiiiiii ddddddd ffffffff sssssssss llllllllllllllllll kkkkkk kkkkkkkk kkkkkk kkkkkkkkk i got it going with this echo { display:inline; } echo "<span class='echo'>".$row['Nom']."</span>"; it shows it in line .now is there a way to limit it ?like 10 in each row Here is the default css.css file for a php directory I use >> http://www.phpmydirectory.com/demo/template/default/css.css I want to create custom fields in user/listee admin that allow a user/listee to choose things like scrollbar colors, page colors, text sizes etc on their individual listing page. Each listing page has a header.tpl file w/ <head>/</head> section. Each .tpl file calls the default css.css file above. How can I echo new css fields into either the css.css file or the actual listing.php of the listing page itself? I got a suggestion to use this but I cannot make it work. Code: <? if (on_page('listing.php')) { ?> etcetcetc I've tried maybe 10 different ways. No luck. Should I convert the css file to php file & echo custom fields into it & call the php/css file to the listing page header? Hi All, I am trying to echo a table that I have given the following css style: PHP Code: table.paginationtable { cell-spacing: 1px; border: 1px solid #000; } table.paginationtable td.location { background-color: #6699FF; color: #FFF; font-family: arial, verdana; font-size: 11px; padding: 5px; font-weight: normal; line-height: 130%; text-align:left; } In the html I have: PHP Code: echo "<table class=\"paginationtable\"><tr>"; echo "<td class=\"location\">$location</td>"; echo "</tr></table>"; For some reason the 1 px border that I styled for the table is not showing up around my paginationtable. Can anyone see anything wrong with my code? Do the echo's look ok? Or is my CSS logic the problem? Brad. I have a php page wich returns some dymanic content....what i need is, using css stylsheets, place each echo where i want... In this example shown here is supposed to move the word ID: but it also moves the word Sueldo: and i dont why, since the Div is already closed before Sueldo begins.... here`s what i get http://www.selex.com.mx/example.jpg on this example can someone help with this please... PHP Code: switch ($x) { case 0: echo "<div id=\"testing\"> <p class=\"p1\"><span> ID:</span></p> </div>"; break; case 3: echo "<p> Sueldo: "; break; case 4: echo "<p> Horas Extras: "; break; case 5: echo "<p> Bono Estacionamiento: "; my css stylesheet goes like this #testing { clear:both; margin: 20px 20px 20px 10px; width: 160px; float: left; } #testing { font: italic 10pt/22pt georgia; text-align:center; } |