473,397 Members | 2,084 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

adding an element

After using a 3-column template from Ben Meadowcroft which I like the looks
of, I need to add an element but don't know how to do it. On the right side
of the page [ http://www.wicksworks.com/miabella/ ] is a box. How can I add
an identical element just below it?

Best wishes,

Sheri Orloff

Fun Home Based Candle Business For Under $50
http://www.wicksworks.com/miabella/
May 11 '07 #1
4 1778
Sheri Orloff wrote:
After using a 3-column template from Ben Meadowcroft which I like the
looks of, I need to add an element but don't know how to do it. On
the right side of the page [ http://www.wicksworks.com/miabella/ ] is
a box. How can I add an identical element just below it?
Can't you just enter more content in that same div? Perhaps set it off
with a small image or even (gasp) an <hr>.

--
-bts
-Motorcycles defy gravity; cars just suck
May 11 '07 #2
In article
<jt********************@bgtnsc05-news.ops.worldnet.att.net>,
"Sheri Orloff" <in**@wicksworks.comwrote:
After using a 3-column template from Ben Meadowcroft which I like the looks
of, I need to add an element but don't know how to do it. On the right side
of the page [ http://www.wicksworks.com/miabella/ ] is a box. How can I add
an identical element just below it?
This might get you going:

If you want to add an element within div.other and retain the
blue of the right col, you can add after the close of form in
div.other

</form>

<div style="border: 1px solid #000; width: 10em;">a div</div>

</div>

If you want a different colour to the element and to break free
of the right-col-blue, you _could_ play with this:

Put this after </form>:

<div class="furtherRightColContent">a div with anything you want
in. You can have nothing in it and use it as a spacer (will be
frowned upon here) and then carry on with another element or
style it without the white bg so it all remains
"right-col-blue"</div>

and change the css to add something like:

..furtherRightColContent {

margin-left:-.5em;
margin-right:-.5em;
padding-top:2em;
border-top: 1px solid #000;
color:black;background: white;}

and a little fussy detail, change the padding and margin on other
to this.

..other {
padding : 0.5em;
margin-bottom : 0em;
padding-bottom : 0em;
}

but this one I think is old B's baby and he will have a more
elegant idea for sure.

--
dorayme
May 11 '07 #3
Sheri Orloff wrote:
After using a 3-column template from Ben Meadowcroft which I like the looks
of, I need to add an element but don't know how to do it. On the right side
of the page [ http://www.wicksworks.com/miabella/ ] is a box. How can I add
an identical element just below it?
Change the structure.

Position a right column as per 3column.css. as a containing div.

rename the class selector in style.css, say other to getfacts

Add within the right column
1.. the now getfacts div and close it
2.. add other elements below.

___________________________________as so______________________________

<DIV class=other><!-- start right container -->

<div class="getfacts"><!-- start Get Facts form -->
<P><STRONG>Get the Facts</STRONG></P>
<P>Have more information emailed to you right away. Just fill out the
form below
to get started.</P>
<P>Your privacy is assured. Your personal information is never shared with
anyone!</P>
<FORM action=http://www.onlinedistinction.com/ar/subc.php method=post>
<P><INPUT type=hidden value=58 name=aid></P>
<P>First Name: <INPUT name=lfname><BR></P>
<P>E-Mail: <INPUT name=lemail><BR></P>
<P><INPUT type=submit value=Subscribe name=submit></P></FORM>
</div><!-- end Get Facts Form -->

<div style="margin-top:1em;">More right panel content</div><!--
additional content -->

</div><!-- end right container -->
__________________________________________________ ____________________

Some general observations to take or leave
1.. why xhtml
2.. validate
3.. attribute values should be in quotes

Louise

Louise
May 12 '07 #4
Thanks to both of you for the prompt and helpful replies. I apparently
didn't communicate very clearly, for the following page is what I wanted:

http://easyfuncandlebiz.com/test.html

Sorry about that. :-) Anything wrong with this approach?

Louise, I am using a template and know just enough to be dangerous. What
would you suggest instead of xhtml and how would it be implemented?

Best wishes,

Sheri Orloff
-----
WicksWorks Candle Emporium
Featuring a wonderful selection of natural wax,
aromatherapy and massage candles
http://www.wicksworks.com
Some general observations to take or leave
1.. why xhtml
2.. validate
3.. attribute values should be in quotes

Louise

May 13 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

34
by: Adam Hartshorne | last post by:
Hi All, I have the following problem, and I would be extremely grateful if somebody would be kind enough to suggest an efficient solution to it. I create an instance of a Class A, and...
2
by: RobG | last post by:
I am trying to dynamically add an onclick to an element, however I just can't get the syntax right. consider the following function: function doClick (evt,x) { // do things with evt and x } ...
4
by: glebur | last post by:
Hi, I'm trying to create a web service client in C# but I get stuck at one of the first steps. When adding a Web reference to the Visual Studio project; I get this error (this is a translation,...
0
by: glebur | last post by:
Hi, I'm trying to create a web service client in C# but I get stuck at one of the first steps. When adding a Web reference to the Visual Studio project; I get this error (this is a translation,...
1
by: The Eclectic Electric | last post by:
I'd be very grateful if anyone could help me with this. From my limited knowledge of Javascript I don't think it is possible, but I'll punt anyway. I downloaded and very slightly adapted this...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.