473,756 Members | 1,964 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

can content of contained box overwrite border of containing box?

I'm trying to implement the purest and simplest tab
styling I can.

So I'd like each tab to be a box with left-top-right borders.
The "row of tabs" sits on top of the content box.
The content box clearly needs a left-bottom-right border.

The "line" between the tabs and the content can either
be a bottom border on the tabs (or a box containing the tabs)
or a top border on the content box.

My problem is: how do I make the "current" selected tab
run into the content box in the usual way - i.e. there
should be NO border between the current tab and the content.

It appears unavoidable that some part of the current tab
must exist opaquely-above the continuous border line
and overwrite it.

Is this possible?
Or have I made bad assumptions?

I'm aware of (and indeed, have implemented)
solutions that use background images to achieve
all this and more, but am trying to come up
with a minimalist solution, using only HTML and CSS.

Oh yeah - browser portability is important.

BugBear
Sep 14 '05 #1
6 1771
bugbear <bugbear@trim_p apermule.co.uk_ trim> wrote:
I'm trying to implement the purest and simplest tab
styling I can.


There must be hundreds of tab styling examples on the web, why do you
need another one?

--
Spartanicus
Sep 14 '05 #2
Spartanicus wrote:
bugbear <bugbear@trim_p apermule.co.uk_ trim> wrote:

I'm trying to implement the purest and simplest tab
styling I can.

There must be hundreds of tab styling examples on the web, why do you
need another one?


Just consider me a seeker after purity and simplicity.

BugBear
Sep 14 '05 #3
bugbear <bugbear@trim_p apermule.co.uk_ trim> wrote:
I'm trying to implement the purest and simplest tab
styling I can.


There must be hundreds of tab styling examples on the web, why do you
need another one?


Just consider me a seeker after purity and simplicity.


Plenty of those amongst the hundreds of tab styling examples currently
on the web also, often complete with explanation of the techniques used.

--
Spartanicus
Sep 14 '05 #4
Spartanicus wrote:
bugbear <bugbear@trim_p apermule.co.uk_ trim> wrote:

I'm trying to implement the purest and simplest tab
styling I can.

There must be hundreds of tab styling examples on the web, why do you
need another one?


Just consider me a seeker after purity and simplicity.

Plenty of those amongst the hundreds of tab styling examples currently
on the web also, often complete with explanation of the techniques used.


OK. Normally I'm quite the guru at web searching, to the point
of putting up a page of techniques for others to use and admire.

http://www.geocities.com/plybench/websearch.html

But I have failed to find the example I seek.

If you could either point me at one (tabbed menus using only
no images), or improve my googling technique I'd be grateful.

BugBear
Sep 14 '05 #5
bugbear <bugbear@trim_p apermule.co.uk_ trim> wrote:
If you could either point me at one (tabbed menus using only
no images), or improve my googling technique I'd be grateful.


http://www.google.com/search?q=css+tabs

Produces loads of examples including simple ones.

--
Spartanicus
Sep 14 '05 #6
Spartanicus wrote:
bugbear <bugbear@trim_p apermule.co.uk_ trim> wrote:

If you could either point me at one (tabbed menus using only
no images), or improve my googling technique I'd be grateful.

http://www.google.com/search?q=css+tabs

Produces loads of examples including simple ones.


Heh. Thanks. I was doing searches like
"tabbed menus" and getting nowhere.

I think your background and experience in CSS
gave you a better keyword.

Thanks again.

BugBear
Sep 15 '05 #7

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

Similar topics

7
1970
by: McKirahan | last post by:
What is "active content"? My ASP page just returns HTML.... I have a page with an .htm extension that has a form whose action is an ASP page which generates a report after updating a database with the form data. Under Windowx XP SP2 the IE6 "Information Bar" has the message: "To help protect your security, Internet Explorer has restricted this
0
1541
by: Skeeve | last post by:
Hi there, I'm trying to create a containing box (relative position), and within it, I'm trying to line that box with four (top, right, left, bottom) thin boxes that contain a repeated background image, thus creating a kind of fancy border. What would be the best practice to do that? I thought that if the containor box was relative and the contained boxes were absolute, that would work because the absolute boxes would be measured...
2
4550
by: Skeeve | last post by:
Hi there, I'm trying to create a containing box (relative position), and within it, I'm trying to line that box with four (top, right, left, bottom) thin boxes that contain a repeated background image, thus creating a kind of fancy border. What would be the best practice to do that? I thought that if the containor box was relative and the contained boxes were absolute, that would work because the absolute boxes would be measured...
0
2140
by: skydiver_morgan | last post by:
I need some quick help with constructing a MYSQL query to help solve a small problem that I have. I havea table in my database where I need to search for text withing a field and delete it. The text that I need to find is not the only text in the field, it is in the field with other text. I am able to single out the records that need updating by using the statement: SELECT * FROM `events` WHERE `EVT_name` LIKE '%Jazz Stage: %';
2
2962
by: DC | last post by:
The Code <%@ import namespace="System" %> <%@ import namespace="System.Web" %> <%@ import namespace="System.Web.UI" %> <%@ import namespace="System.Web.UI.HtmlControls" %> <%@ import namespace="System.Web.UI.WebControls" %> <%@ import namespace="System.Data" %> <%@ import namespace="System.Data.OleDb" %>
0
3583
by: DC | last post by:
The problem I'm using the .NET GridView and FormView objects for the first time and im getting the error "An OleDbParameter with ParameterName '@ID' is not contained by this OleDbParameterCollection" whenI try to write a new record. Delete and Modify work fine its just the add record function causes the error.
1
1660
by: Mohd Al Junaibi | last post by:
Hi all... I've got a group of tables and I wanted to first see which tables contained a fields containing the "Date/Time" data type. And I was successful in doing so...here's the query: ( select a.name tablename, b.name colname from sysobjects a, syscolumns b
5
2816
by: liz0001 | last post by:
I have a large div and am trying to place 4 divs inside it. The containing div has a set height, as do two of the contained div. The other two do not have set heights. It works fine unless one of the divs without a set height gets too big. If that happens, I want it to add a scroll bar. Instead, it just cuts off the rest of the content. Here are my divs: Containing Div: #CenterDivNA { width: 580px;
0
9462
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9287
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10046
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9886
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9857
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9722
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5155
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2677
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.