Sunday, July 20th 2008, 2:18am UTC+1

You are not logged in.

  • Login
  • Register

cuty

Beginner

Posts: 1

Location: US

1

Wednesday, April 2nd 2008, 9:54pm

How to control style of a DIV inside called HTML page

I am using QT and its first project. Calling/displaying .html pages when running qt. But the Buttons inside html pages are not coming as Qt dont support <button> or <input> tags as i can see.
So i was trying to use Styling /CSS, but Qt has very limited support for css.
How to give a border and button like look and feel in a div which is used .html?
[when u render in browser directly without Qt, buttons coming perfect. But inside QT its not at all ]

for example:
<div class="bEmphasized"><div class="button">
<a href="#EXECA" style="color:#fff;">CPU </a>
</div></div>

where
.button{
font-weight:bold;font-size:16px;
text-align:center;
cursor:pointer;
border-color:red;
border-style:solid;
}
..very very new at qt
  • Go to the top of the page

Rate this thread