Click here to Skip to main content
15,881,715 members
Home / Discussions / Web Development
   

Web Development

 
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 
QuestionError:Automation server can't create object Pin
idreesbadshah21-Feb-06 7:18
idreesbadshah21-Feb-06 7:18 
AnswerRe: Error:Automation server can't create object Pin
Vasudevan Deepak Kumar21-Feb-06 20:19
Vasudevan Deepak Kumar21-Feb-06 20:19 
Questioncalling dll in javascript Pin
idreesbadshah21-Feb-06 2:30
idreesbadshah21-Feb-06 2:30 
AnswerRe: calling dll in javascript Pin
CWIZO21-Feb-06 3:48
CWIZO21-Feb-06 3:48 
AnswerRe: calling dll in javascript Pin
Shog921-Feb-06 7:39
sitebuilderShog921-Feb-06 7:39 
Questionhel;p to solve the multipart/alternative and resolve the ParseException Pin
more.deepak20-Feb-06 23:17
more.deepak20-Feb-06 23:17 
QuestionConvert C# to VB code Pin
Chiari20-Feb-06 21:50
Chiari20-Feb-06 21:50 
AnswerRe: Convert C# to VB code Pin
jjrdk21-Feb-06 22:56
jjrdk21-Feb-06 22:56 
AnswerRe: Convert C# to VB code Pin
Srinu_ss522-Feb-06 1:20
Srinu_ss522-Feb-06 1:20 
Questioncreating a draw tool for a website Pin
silverP20-Feb-06 20:28
silverP20-Feb-06 20:28 
QuestionHow can i launch a windows form from a CGI Pin
Yayozama20-Feb-06 13:32
Yayozama20-Feb-06 13:32 

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.