|
-
Jun 9th, 2003, 07:57 AM
#1
Thread Starter
PowerPoster
Affecting one ASCX Control Globally
ok, time saver question. I have a WebUserControl (ASCX) that is used on about 25 pages. But as the control has grown, it just shows hyperlinks, the width of it is larger. Is there a way that I can change the LEFT position of the table that the control is sitting in so that I don't have to visit each page?
Code:
style="LEFT: 714px;
-
Jun 9th, 2003, 09:23 AM
#2
Could you rephrase that? I haven't a clue what you are talking about.
-
Jun 9th, 2003, 09:28 AM
#3
Thread Starter
PowerPoster
I am wanting to affect the absolute positioning of the table that houses the ascx control. Maybe this is not possible
-
Jun 9th, 2003, 09:53 AM
#4
Ok. Should be able to do that with the client side styling stuff. ie. Use this in the beggining of the .ascx to set the margins to 0 for whatever the control will be contained in
VB Code:
<style>
BODY { MARGIN: 0px }
</style>
-
Jun 9th, 2003, 12:29 PM
#5
New Member
absolut position
if you want an absolute position just put the table into a DIV , into your ascx file
<div style="position:absolute;top:0%;left:0%;height:auto;width:200px;"><table>your content</table></div>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|