Jump to content

style for recordset...


ilikephp

Recommended Posts

This is my code:

 <td align="right"><strong>city<?php echo $row_Recordset['city_4']; ?></strong></td>

 

 

If I want to apply a style I do this:

<td align="right"><h2><strong>city:<?php echo $row_Recordset['city_4']; ?></strong></h2></td>

 

what I need is to put a css style for all the recordset without setting the style for each Recordset.

Link to comment
https://forums.phpfreaks.com/topic/203365-style-for-recordset/#findComment-1066659
Share on other sites

for all my inputs and text area fields, I apply this css code:

input, textarea,  {
border-width: 1px;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #00C;
font-weight: bold;
}

 

Because if I use

.something{
  font-weight:bold;
}

all td tags will be changed while in the upper code, only text areas are changed.

 

 

there is no way instead of input or textarea { ...to put something for all recordset?

 

Thank you :)

Link to comment
https://forums.phpfreaks.com/topic/203365-style-for-recordset/#findComment-1066693
Share on other sites

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.