Jump to content
Fórum Script Brasil
  • 0

Tabcontainer - Não Alinha à Esquerda


Guest ---s_ric_ptbrasil ---
 Share

Question

Guest ---s_ric_ptbrasil ---

Entrei no link abaixo sobre Tabs para personalizar o meu, mas ele não alinha à esquerda(fica somente centralizado).

Por favor me ajudem, pois sou leigo nestes assuntos de ajax, eu só manjo html e pouco de JS. Estou dando tapa a cara.

Agradeço desde já pela assistência.

http://www.asp.net/ajax/ajaxcontroltoolkit.../Tabs/Tabs.aspx

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
Guest ---s_ric_ptbrasil---

Na página Master:

<%@ Master Language="VB" CodeFile="cabecalho_cadastros.master.vb" Inherits="cabecalho_cadastros" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <script language="javascript" src="../js/Funcoes.js"></script>
    [u]<link rel="stylesheet" type="text/css" href="../css/[b]Class.css[/b]" />[/u]
    <link rel="stylesheet" type="text/css" href="../css/tab_eventos.css" />
</head>
Na Class.css :
.FundoAzul {
    background-color: #00669b;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #ffffff;
    font-weight:bold;
    TEXT-ALIGN: center
}
.FundoCinza {
    background-color: #f8f8f8;
}
<style type="text/css">
<!--
/* PARA O LINK 1 */

a.linkum:link {
color:#FF0000;
text-decoration:none;
}
a.linkum:visited {
color:#00ff00;
text-decoration:none;
}
a.linkum:hover {
color:#0000ff;
text-decoration:none;
}
a.linkum:active {
color:#ffFF00;
text-decoration:none;
background-color:#000000;
}

/* PARA O LINK 2*/

a.linkdois:link {
color:#FF0ef0;
text-decoration:none;
}
a.linkdois:visited {
color:#1fff00;
text-decoration:none;
}
a.linkdois:hover {
color:#02f0ff;
text-decoration:none;
}
a.linkdois:active {
color:#ffF010;
text-decoration:none;
background-color:#000000;
}

-->
</style>
Na página aspx :
<%@ Page Language="VB" MasterPageFile="~/Cadastros/cabecalho_cadastros.master" AutoEventWireup="false" CodeFile="listar_eventos.aspx.vb" Inherits="Cadastros_listar_eventos" title=":: FolhaWeb - Listagem de Eventos ::" %>
...
<TABLE id="TabFiltro" cellSpacing="0" cellPadding="6" width="96%" align="center" bgColor="#eeeeee" border="0" runat="server">
                                <TBODY>
                                <TR>
                                <TD>
                                <P align="center">
                                <asp:Label id="lblFiltro" runat="server" CssClass="linkum">
                                </asp:Label>
                                </P>
                                </TD>
                                </TR>
                                </TBODY>
                                </TABLE>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Forum Statistics

    • Total Topics
      149.8k
    • Total Posts
      646.6k
×
×
  • Create New...