Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 14th, 2006, 09:20 AM
Friend of Wrox
 
Join Date: Jul 2006
Location: olathe, ks, USA.
Posts: 238
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via MSN to rsearing
Default Contentpage stretching table cells

I am trying to design a simple site and I am having problems with understanding tables and contentpage.

Basically, I have a site that has a nav bar on the right and then I am trying to create a content page to the right of that. The cell width is 650px--and I have just dragged a contentpage into the cell.

The problem I have is that the contentpage width is stretching into the navbar on the left--and it is doing it when I would think it shouldn't be. All I started off putting in the contentpage is a pic that is 350px wide and another pic that is 75px wide. As soon as I drop the 75px picture in, the contentpage autostretches into the nav bar cell--shrinking it--almost as if it has padding set up (it doesn't).

Is there a way to define the width of a contentpage to prevent it from taking up its neighboring cell's width?

This is driving me crazy.

:)

Any help would be MUCH appreciated.
Thanks in advance,
Rob Searing

Reply With Quote
  #2 (permalink)  
Old November 14th, 2006, 11:10 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

I think you're better off posting this in the HTML forum, as it has much more to do with HTML than with ASP.NET.

Cheers,

Imar
Reply With Quote
  #3 (permalink)  
Old November 14th, 2006, 11:55 AM
Friend of Wrox
 
Join Date: Jul 2006
Location: olathe, ks, USA.
Posts: 238
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via MSN to rsearing
Default

Ok---my issue, I thought, was actually the ASP Contentpage...as it seemed to be taking priority to the table cell--I was wondering if there was a contentpage property that I was neglecting that wouldn't widen the contentpage itself.

I'll mess around tonight with some of the CSS style rules and then either re-post or add another here.

Thanks SO much,
Rob

Reply With Quote
  #4 (permalink)  
Old November 14th, 2006, 10:39 PM
Friend of Wrox
 
Join Date: Jul 2006
Location: olathe, ks, USA.
Posts: 238
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via MSN to rsearing
Default

Ok, Imar was correct. This turned out to not be a ASP issue, but an HTML issue--and I couldn't find a way to delete this post.

I solved this by removing all "width" styles from my HTML and putting them in the CSS file--creating ID's for the HTML elements I was wanting to dictate a specific width. I think too many things were conflicting.

Thanks Imar!!

Kind Regards,
Rob Searing

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exporting to Excel --table/matrix cells ignored baaul Reporting Services 1 July 24th, 2007 08:27 PM
Table cells as links gjeardle HTML Code Clinic 16 January 24th, 2007 12:08 PM
Table Cell Auto Stretching When Height Is Defined rsearing CSS Cascading Style Sheets 5 November 26th, 2006 10:26 AM
datagrid add table cells problem keyvanjan ASP.NET 1.0 and 1.1 Basics 2 August 9th, 2006 11:55 PM
How to know cells in table is merging?? DorisTan VB How-To 0 January 13th, 2005 09:50 PM



All times are GMT -4. The time now is 06:27 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.