CSS on wxHtmlWindow::LoadFile() Topic is solved

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.
Post Reply
e_torstenson
Knows some wx things
Knows some wx things
Posts: 37
Joined: Fri Nov 30, 2007 4:41 pm

CSS on wxHtmlWindow::LoadFile()

Post by e_torstenson »

I'm loading a file that uses style sheets (they are linked offsite to a real URL) and they don't seem to be handled. Is it an error in my HTML call (or maybe my stylesheet) or is there some limit to style sheet support in the widget?
User avatar
doublemax
Moderator
Moderator
Posts: 19160
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Post by doublemax »

wxHtmlWindow supports only a very rudimentary html subset and is not intended as a full purpose html viewer.
http://www.wxwidgets.org/manuals/stable ... ssupported
Use the source, Luke!
e_torstenson
Knows some wx things
Knows some wx things
Posts: 37
Joined: Fri Nov 30, 2007 4:41 pm

Post by e_torstenson »

Yeah, I guess I knew that...I just assumed CSS was supported:( That is such an important feature of HTML. Oh well
Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Post by Auria »

You can try wxWebkit. It's not yet finished but much more feature-full
e_torstenson
Knows some wx things
Knows some wx things
Posts: 37
Joined: Fri Nov 30, 2007 4:41 pm

Post by e_torstenson »

Ooh, that looks great! I love the .webarchive thing. Will look into using that instead.
Post Reply