Click here to Skip to main content
15,913,202 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: XML Parsing Problem Pin
darkelv25-Feb-06 19:55
darkelv25-Feb-06 19:55 
QuestionRundll32 command via Batch file executed through cgi Pin
ericeh24-Feb-06 11:32
ericeh24-Feb-06 11:32 
QuestionHow to email user their forgotten password with asp, ms sql and JMail Pin
Anessa200624-Feb-06 9:58
Anessa200624-Feb-06 9:58 
AnswerRe: How to email user their forgotten password with asp, ms sql and JMail Pin
Vasudevan Deepak Kumar2-Mar-06 1:22
Vasudevan Deepak Kumar2-Mar-06 1:22 
Questionasp default button Pin
cmarmr24-Feb-06 7:04
cmarmr24-Feb-06 7:04 
AnswerRe: asp default button Pin
Divya Rathi24-Feb-06 9:30
Divya Rathi24-Feb-06 9:30 
QuestionWinHTTP Pin
mdw77724-Feb-06 6:14
mdw77724-Feb-06 6:14 
AnswerRe: WinHTTP Pin
Vasudevan Deepak Kumar2-Mar-06 1:23
Vasudevan Deepak Kumar2-Mar-06 1:23 
QuestionIE6 and/or IIS problem Pin
Rav3n24-Feb-06 2:13
Rav3n24-Feb-06 2:13 
Questionvirtual directory problem with asp.net app Pin
niki patel23-Feb-06 19:27
niki patel23-Feb-06 19:27 
AnswerRe: virtual directory problem with asp.net app Pin
Guffa23-Feb-06 21:41
Guffa23-Feb-06 21:41 
QuestionCGI requires which web server? Pin
RamL23-Feb-06 16:44
RamL23-Feb-06 16:44 
AnswerRe: CGI requires which web server? Pin
Vasudevan Deepak Kumar2-Mar-06 1:24
Vasudevan Deepak Kumar2-Mar-06 1:24 
QuestionAnybody Really Good With FCKEditor??? Pin
code-frog23-Feb-06 9:17
professionalcode-frog23-Feb-06 9:17 
AnswerRe: Anybody Really Good With FCKEditor??? Pin
Al Ortega24-Feb-06 14:40
Al Ortega24-Feb-06 14:40 
QuestionHow to set the headers of a shdocvw.dll webbrowser control ? Pin
DumitruC23-Feb-06 2:45
DumitruC23-Feb-06 2:45 
QuestionDropDownList and SQL question Pin
Illegal Operation23-Feb-06 2:31
Illegal Operation23-Feb-06 2:31 
AnswerRe: DropDownList and SQL question Pin
Divya Rathi23-Feb-06 6:10
Divya Rathi23-Feb-06 6:10 
QuestionAccesing the size of textual elements on a web page Pin
llp00na23-Feb-06 1:05
llp00na23-Feb-06 1:05 
Dear all;

I am using the WebBrowser control to access the elements of a web page. This has been done successfully.

Now that i can retrieve elements (paragraphs, headers, links, fonts...) through the IHTMLElement2 interface. I am trying to obtain the size of textual elements (paragraphs, headers ...) and compare them "see which ones are bigger than the others".

As far as i know, the size attribute for html elements can be accessed through the IHTMLCurrentStyle interface.
The problem now is:

IHTMLCurrentStyle::fontSize gets me the size in different formats ----> as it can be absolute size, relative size, length, and percentage.
or please have a look at this link:

---> Font Size


then click on: IHTMLCurrentStyle. The font size get be then obtained through: fontSize

Now guys, do u know anyway to compare those formats!!!

Another way i am thinking of is to get the height of a single line. this should be easier to make a judgment regarding which elements are bigger.But i do not know how to do that, any ideas ????

thank you



llp00na

-- modified at 7:14 Thursday 23rd February, 2006
QuestionSQL statement Pin
angelagke22-Feb-06 16:23
angelagke22-Feb-06 16:23 
GeneralRe: SQL statement Pin
George L. Jackson22-Feb-06 17:42
George L. Jackson22-Feb-06 17:42 
Questionasp pages Pin
cmarmr22-Feb-06 7:52
cmarmr22-Feb-06 7:52 
AnswerRe: asp pages Pin
George L. Jackson22-Feb-06 13:07
George L. Jackson22-Feb-06 13:07 
AnswerRe: asp pages Pin
Illegal Operation23-Feb-06 2:40
Illegal Operation23-Feb-06 2:40 
QuestionJavascript Photo Gallery Pin
Trey549822-Feb-06 5:52
Trey549822-Feb-06 5:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.