close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

just a little css help needed please

Thread began 4/09/2013 4:22 am by Jamie | Last modified 4/16/2013 4:14 am by Jamie | 1584 views | 6 replies |

Jamie

just a little css help needed please

Hi guys

No urgency here but when you have a min to spare, just wondering a couple of things:

1) on this page http://emilygoad.co.uk/gallery.php and this one http://emilygoad.co.uk/repertoire.php, how do I make sure the main content area box stays wrapped what it should rather than letting it flow into the footer area?

2) in the tabbed panel area of this page http://emilygoad.co.uk/repertoire.php, how do I get the alternating background colours for each row of the table?

Thanks

Jamie

Sign in to reply to this post

Jason ByrnesWebAssist

1) add a height attribute to the #outerWrapper #mainWrapper #contentWrapper #contentArea

#outerWrapper #mainWrapper #contentWrapper #contentArea {
background-image: url("../images/misc/conten-bgd.png");
background-repeat: repeat;
border-style: none;
box-shadow: 5px 5px 5px 0 rgba(51, 51, 51, 0.5);
height: 1000px;
margin-top: 37px;
padding: 40px;
width: 620px;
}




2) use the repeating table behavior from DataBridge, this allows you to specify a light and dark style to use for alternating rows.

Sign in to reply to this post

Jamie

Thanks Jason

I didn't use the height attribute as it was a bit to prescribed so ended up using an empty div below the content and eg <div style="clear:both; height:1px;"><div> which seems to have done he trick

I will check out the DB repeating table behaviour you've suggested

Jamie

Sign in to reply to this post

Jamie

the repeating table is an excellent bit of kit, took quite a few attempts to get it right but all good now.

2 questions I have are:

1. if you have more than 1 table on the same page at the moment the alternating backgrounds pick up from the preceding table, how would you get each table to start fresh? - Have worked this one out

2. what is the alternative text bit for? this is what got me stumped on many attempts to get the repeating table working and I ended up having to remove it....

Sign in to reply to this post

Jason ByrnesWebAssist

the alternative text is used when the recordset does not return enough results to create a full row.

in other words, if you set the columns to 3 and rows to 3 (3 by 3 = 9 cells) and the recordset only returns 7 results, the last 2 cells will use the alternate text.

Sign in to reply to this post

Jamie

thanks for the explanation Jason

Jamie

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...