thriftybynature Posted June 5, 2012 Share Posted June 5, 2012 (edited) I have a vertical categories bar on my site (in a custom html box) The problem I have it it does not change length when the contents change ( I have an ecwid caelog instaled that changes length depending on what you are looking at) I need the category bar to change length with the ecwid browser. How can I do this? The url is www.ThriftyByNatureOnline.com/store.html Edited June 5, 2012 by thriftybynature Link to comment Share on other sites More sharing options...
niche Posted June 5, 2012 Share Posted June 5, 2012 Why do you have duplicate navigation and which nav is generating your question (horizontal or vert)? Link to comment Share on other sites More sharing options...
thriftybynature Posted June 6, 2012 Author Share Posted June 6, 2012 vertical Link to comment Share on other sites More sharing options...
niche Posted June 6, 2012 Share Posted June 6, 2012 To change the length of that div, change the height of the div class. Can you do that? Link to comment Share on other sites More sharing options...
thriftybynature Posted June 6, 2012 Author Share Posted June 6, 2012 but how would i set it to change lengths based on page length ex if you are in 'for the home the page is shorter then if you are in clothing (p.s im in the process of removing the horizontal menu) Link to comment Share on other sites More sharing options...
niche Posted June 6, 2012 Share Posted June 6, 2012 Percentages might work for you. http://www.w3schools.com/cssref/pr_dim_height.asp I looked at your html and that div is really buried. Link to comment Share on other sites More sharing options...
thriftybynature Posted June 6, 2012 Author Share Posted June 6, 2012 ok il try it and let you know if it works, thanks Link to comment Share on other sites More sharing options...
thriftybynature Posted June 6, 2012 Author Share Posted June 6, 2012 I cant figure it out... Link to comment Share on other sites More sharing options...
niche Posted June 6, 2012 Share Posted June 6, 2012 To confirm, you don't like the height of the div that contains your navigation as in it's too tall. Correct? Link to comment Share on other sites More sharing options...
thriftybynature Posted June 7, 2012 Author Share Posted June 7, 2012 no, my product browser changes length depending on the number of products listed on the page. I need the html box to change height with the browser. its kindo of like i need the html box anchored to the top and bottom of the page... if that possible? Link to comment Share on other sites More sharing options...
Guest So Called Posted June 7, 2012 Share Posted June 7, 2012 What is an HTML box anyway? <BOX> ... </BOX> ??? Link to comment Share on other sites More sharing options...
thriftybynature Posted June 7, 2012 Author Share Posted June 7, 2012 I use weebly you can drag & drop a custom html box onto the page wherever you want it then add html code into it to turn it into whatever you want Link to comment Share on other sites More sharing options...
Guest So Called Posted June 7, 2012 Share Posted June 7, 2012 I still have no idea what an HTML box is. Is it some feature of a web design package? Maybe it doesn't matter anyway. Link to comment Share on other sites More sharing options...
Ingolme Posted June 7, 2012 Share Posted June 7, 2012 Normally, I refer to any ordinary block element as a "box" due to following the "box model" I don't know what this person is referring to, though. Link to comment Share on other sites More sharing options...
thriftybynature Posted June 7, 2012 Author Share Posted June 7, 2012 I dont really no how to explain it... you select custom html box from the top of the page. drag it and drop it anywhere you want then you add whatever you want- forexample <div class="text-box15"> on my sate makes a brown box you can add scripts and stuff too. If you wanted to check it out its on weebly.com and its free to set up and use, or you can pay to get extra features like a favicon Link to comment Share on other sites More sharing options...
Guest So Called Posted June 7, 2012 Share Posted June 7, 2012 I think I'm beginning to understand now. Sounds like some sort of HTML generator package.... I type all my HTML, CSS and PHP using a text editor. There are sites you can create your own favicon.ico file for free. Just put it in your root directory. Extra credit: you can add a META line to your HEAD section. Link to comment Share on other sites More sharing options...
thriftybynature Posted June 7, 2012 Author Share Posted June 7, 2012 so does anyone have any idea how to have the height of the html box change with the content? Link to comment Share on other sites More sharing options...
thriftybynature Posted June 7, 2012 Author Share Posted June 7, 2012 ps i can still edit the regular html and css for the site if i need to Link to comment Share on other sites More sharing options...
Ingolme Posted June 7, 2012 Share Posted June 7, 2012 An ordinary block element will always be as tall as the content within it, including padding and borders. Link to comment Share on other sites More sharing options...
thriftybynature Posted June 7, 2012 Author Share Posted June 7, 2012 so there is no way then... crap... Link to comment Share on other sites More sharing options...
dsonesuk Posted June 8, 2012 Share Posted June 8, 2012 Since it uses tables for layout, define the td cell it is in position: relative; define class text-box1, as position: absolute; top:0; bottom:0; left:0 and define width: ###px;, this should now adjust to the total height of cell available, work act the same in all browsers that a different matter. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now