Web Design Forums

Other Languages

Get help with any programming languages other than the ones above.

Is there no resolution to this? IFRAME ignores marginwidth attribute



Site of the Month Voting - Now Open. CAST YOUR VOTE NOW!

Reply
 
LinkBack Thread Tools
Old September 22 '08, 09:13 AM (#1)
t92lag is offline
New Member!
 
t92lag's Avatar
 
Join Date: March 2004
Posts: 14
t92lag
Is there no resolution to this? IFRAME ignores marginwidth attribute

Is there no resolution to this? My IFRAME completely ignores the attribute marginwidth="0" just because it's partly XML(with xslt in a separate file), partly Classic ASP and not partly HTML, partly ASP as it was before.

<IFRAME SRC="sometable.asp" id="iframe" onload="resolveAccessDifferences();" WIDTH=779 HEIGHT=302 marginwidth="0" marginheight="0" allowtransparency="true">
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 22 '08, 09:21 AM (#2)
Jason is offline
Formally Perad
 
Jason's Avatar
 
Join Date: April 2005
Location: Hatfield, England
Posts: 855
Jason is a jewel in the roughJason is a jewel in the roughJason is a jewel in the rough
Send a message via MSN to Jason
Do you have a link to see this in action?

Improved your code for you.
HTML Code:
<iframe src="sometable.asp" id="iframe" onload="resolveAccessDifferences();" width="779" height="302" marginwidth="0" marginheight="0" allowtransparency="true">
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 22 '08, 10:45 AM (#3)
Shadowfiend is offline
Code beautifully and honorably
 
Shadowfiend's Avatar
 
Join Date: June 2005
Location: Atlanta, GA
Posts: 4,143
Shadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond repute
So, the question is, is the iframe part of what's in the XML, and if so, are you using a doctype that removes the iframe's marginwidth attribute? If so, during the XSLT transform I believe you may lose that attribute altogether. You should be using CSS to style this anyway.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

  Web Design Forums » Programming Help » Other Languages

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Transparent iFrame Background in Firefox AND Internet Explorer johnjm22 HTML and CSS Help 4 July 3 '08 04:13 AM
iframe in IE6 stretchy wider than browser window igkuk7 HTML and CSS Help 6 October 5 '06 03:46 AM
How do I access a function declared within an iframe? TheGardener Javascript, AJAX, and JSON 4 June 14 '06 10:15 PM
Hotel website njbignell Website Ratings and Reviews 11 May 21 '06 07:49 PM
Review my site... nightcastle Website Ratings and Reviews 7 May 14 '06 06:26 PM

 
User Infomation
Your Avatar

Site Of The Month
Nominate Your Site Now!

Advertisement
WolfCMS.org

Latest Articles
- by RickM
- by bfsog

Advertisement

Partner Links



All times are GMT -4. The time now is 01:54 PM.


WebDesignForums.net is Copyright © 2010 RikeMedia.

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164