If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
kps
Knows some wx things
Posts: 31 Joined: Tue Jan 03, 2012 4:55 am
Post
by kps » Thu Mar 22, 2012 7:24 am
Hi,
Does wxWidgets 2.8.7 support CSS and HTML. I am creating a HTML window and Loading a page which has CSS.
Sample code here.
Code: Select all
CSS File (temp.css)
/* All views: color of horizontal ruler */
td.ruler
{
background-color: #6688D4;
}
HTML File:
<link rel="stylesheet" type="text/css" href="temp.css>
<body>
<table>
<tr><td class="ruler"><img src="glass.png" width=3 height=3 alt=""></td></tr>
<\able>
</body>
wxWidgets is ignoring CSS file formating and taking it as a normal HTML code. Please Let me know a way out.
Kps
kps
Knows some wx things
Posts: 31 Joined: Tue Jan 03, 2012 4:55 am
Post
by kps » Thu Mar 22, 2012 8:58 am
Thanks a lot,
Does wxWebview support LoadPage like Html Window. I checked the sample it more of like a Web designing.
kps
doublemax
Moderator
Posts: 19114 Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2
Post
by doublemax » Thu Mar 22, 2012 9:17 am
The method is called LoadURL() in wxWebView.
Use the source, Luke!