Add multiple style to a Div inside a php doc?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Chacapamac
Forum Newbie
Posts: 5
Joined: Fri Nov 14, 2008 3:33 am

Add multiple style to a Div inside a php doc?

Post by Chacapamac »

I don’t know if that question should be here, and the answer is probably easy.... :roll:

I have a PHP doc, inside that doc I have:

Code: Select all

<div class="box" style="padding:10px">
 < stuff inside the div>
</div>
I like to add more style to the div class="box" style="padding:10px"

like a border thickness and color.

How to?
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: Add multiple style to a Div inside a php doc?

Post by papa »

You don't want to edit the original class ?
Chacapamac
Forum Newbie
Posts: 5
Joined: Fri Nov 14, 2008 3:33 am

Re: Add multiple style to a Div inside a php doc?

Post by Chacapamac »

Not sure what you mean?
Post Reply