close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


unable to add colored box/text using divs

Thread began 1/24/2018 5:35 pm by software.current355386 | Last modified 1/24/2018 7:25 pm by Ray Borduin | 126 views | 1 replies |


unable to add colored box/text using divs

CMS div coding
<div class="TB_Red BDR_Blue" id="TextBox1">
<p>ffffffff<span style="font-size:36px;">‚ÄčLARGE</span><span style="font-size:36px;"> TEXT IN RED BOX WITH BLUE BORDER</span></p>

CSS Code

#TextArea1{width:50%;margin;20px auto; height:150px;background-color:green;border:cyan dottted 20px;}
.BDR_Blue{border:blue solid 3px;}

should give e blue box or ar worst green box, but neither is happening

were am i going wrong

Sign in to reply to this post

Ray BorduinWebAssist

I put the code into a page and I got a red box with a blue border.. which is what I would expect from that code.

There is not an element with an ID of TextArea1, so that part would be ignored. The next two lines of css give it a blue border and red background.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...