Showing posts with label newbie. Show all posts
Showing posts with label newbie. Show all posts

Wednesday, March 28, 2012

Tables

Newbie here.

I'm hasving trouble with tables in Visual Web Developer Express.

I've set cellspacing and cellpadding to zero, but there's spaces around
objects in my table.

Any idea what's going wrong?Hi

Check whether you have assigned some width for every table cell (<td>),
which is giving you this experience. Try to set the width as zero and see how
it appears.

Prem
Newbie here.

Quote:

Originally Posted by

>
I'm hasving trouble with tables in Visual Web Developer Express.
>
I've set cellspacing and cellpadding to zero, but there's spaces around
objects in my table.
>
Any idea what's going wrong?


Where do you see those spaces? In the designer or in the resulting
webpage in the browser?
The designer might show spaces (and borders) to make the layout clear.
If in the browser, check the resulting html code ("view source") to see
if you can find a reason for those spaces there.

Hans Kesting

Thursday, March 22, 2012

TagPrefix?

Maybe a newbie question, but I'm trying to implement a
custom Tag processing routine. I'm having limited
success finding documentation on the following:

<%@dotnet.itags.org.Register TagPrefix="bla" ... %
Can anyone point me to any kind of documentation on how
this mechanism works. Simply put, I want to be able to
put a custom tag in my ASPX file, and to have a block of
my code that is processed (when that tag is encountered)
which will be located in an assembly of my choosing, and
not another file such an .ASCX file.Brad B. wrote:
> Maybe a newbie question, but I'm trying to implement a
> custom Tag processing routine. I'm having limited
> success finding documentation on the following:
> <%@.Register TagPrefix="bla" ... %>
> Can anyone point me to any kind of documentation on how
> this mechanism works. Simply put, I want to be able to
> put a custom tag in my ASPX file, and to have a block of
> my code that is processed (when that tag is encountered)
> which will be located in an assembly of my choosing, and
> not another file such an .ASCX file.

What you're talking about doing is developing a "Custom Server Control".
MSDN has a complete walk-through that should get you started:

http://msdn.microsoft.com/library/e...msControl.as p

--
mikeb

Thanks. This helped.
Unfortunately, I still can't seem to achieve what I need. Basically, I
wish to "Insert" html at the top of my aspx page that will force
everything else on the page to move down. With normal HTML, this is a
given. However, the default design mode for aspx pages uses absolute
positioning. I need a way to actually insert something at the top of
the page (during one of the page processing events) that would show up
at the top of the page and force everything else to move down.

Any help would be appreciated greatly.

Thanks.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!